5.[root@linuxidc named]# ls //查看/var/named/目录下的内容:
data dynamic named.ca named.empty named.localhost named.loopback slaves linuxidc.com linuxidc.rev
6.[root@linuxidc named]# cat linuxidc.com //查看正向区域文件
$TTL 1D
@ IN SOA linuxidc.com. root.linuxidc.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS @
A 127.0.0.1
AAAA ::1
www IN A 192.168.40.40
mail IN A 192.168.40.40
mail IN MX 10 mail.linuxidc.com