//建立named.local文件
[root@ named]# vi named.local
$TTL 86400
@ IN SOA localhost. root.localhost. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS localhost.
1 IN PTR localhost.
//dig命令直接生成named.root文件
[root@ named]# dig > named.root
//建立linuxidc.com域名正向解析文件
[root@ named]# vi linuxidc.zone
$ttl 1D
@ IN SOA linuxidc.com. root.linuxidc.com. ( 1053891162
3H
15M
1W
1D )
IN NS linuxidc.com.
IN MX 5 linuxidc.com.
www IN A 192.168.1.107