[root@lustlost etc]# cd /var/named/ [root@lustlost named]# vim lustlost.com.in #创建内部网络客户解析区域文件 #这里就随便建立几个记录了 $TTL 600 $ORIGIN lustlost.com @ IN SOA ns.lustlost.com. admin.lustlost.com. ( 2012070801 1H 10M 1W 1D ) IN NS ns IN MX 10 mail ns IN A 192.168.92.102 mail IN A 192.168.92.100 www IN A 192.168.92.101
[root@lustlost named]# cp lustlost.com.in lustlost.com.out #创建外部网络客户解析区域文件 $TTL 600 $ORIGIN lustlost.com @ IN SOA ns.lustlost.com. admin.lustlost.com. ( 2012070801 1H 10M 1W 1D ) IN NS ns IN MX 10 mail ns IN A 172.19.19.102 mail IN A 172.19.19.100 www IN A 172.19.19.101 至此所有配置都已经完成