In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Dns server configuration environment Linux bind9
Demand: domain name abc.com resolved to intranet 192.168.1.1
1) vi / etc/named.con create zone file
}
Zone "mac.dev.com." IN {
Type master
File "mac.dev.com.file"
}
Zone "." IN {
2) cd / var/named create file file mac.dev.com.file
3) vi Editing mac.dev.com.file
[root@localhost named] # cat mac.dev.com.file
Abc.com. IN SOA abc.com. Colin.zeng.zoom.us. (
0; serial
1D; refresh
1H; retry
1W; expire
3H); minimum
Abc.com. NS abc.com.
Abc.com. A 192.168.1.1
Www A 58.83.160.156
3) important
Chgrp named mac.dev.com.file
Give named user execution rights to mac.dev.com.file
4) Test ping mac.dev.com.file
[root@localhost named] # ping abc.com
64 bytes from 10.100.124.X (10.100.124.X): icmp_seq=1 ttl=63 time=0.219 ms
64 bytes from 10.100.124.X (10.100.124.X): icmp_seq=3 ttl=63 time=0.167 ms
Returned as private network address, the above resolution is for LAN domain name resolution, not to internet
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.