- Mount the image first, then configure Yum, then install the Yum install-y bind
- Configure the static IP. DNS is his own IP address.
- Modify the DNS configuration file and add the zone configuration information later. Vim/etc/named.conf
- zone "tcbuu.cn" in { type master; file " tcbuu.cn.zone "; zone "227.168.192.in-addr.arpa" in { type master; file " 227.168.192.in-addr.arpa.zone ";   5. Create two files with the same name as the configuration file under the/var/named/path 6. You can directly copy the two sample files in the/var/named/directory for modification
- Cp-p Named.loopback 227.168.192.in-addr.arpa.zone
- Cp-p Named.localhost Tcbuu.cn.zone
- tcbuu.cn.zone
$TTL 1D
@ in SOA tcbuu.com. root.tcbuu.com. (
0; Serial
1D; Refresh
1H; retry
1W; expire
3H); Minimum
NS www.tcbuu.com.
www A 172.16.100.192
8.227.168.192.in-addr.arpa.zone
$TTL 1D
@ in SOA 100.16.172.in-addr.arpa. root.tcbuu.com. (
0; Serial
1D; Refresh
1H; retry
1W; expire
3H); Minimum
@ NS www.tcbuu.com.
A 127.0.0.1
AAAA:: 1
195 PTR www.tcbuu.com.
9.vi/etc/resolv.conf Changing the DNS address to native IP10.service named restart Restart Service Test
Red Hat 7.0 DNS service configuration note