zone "b.cn" {
type master;
file "/var/named/b.cn.bind";
};
};
named.ca即从网上下载的最新的named.root
named.local为:
$TTL 86400
@ IN SOA localhost. root.localhost. (
42 ; serial (d. adams)
1H ; refresh
15M ; retry
1000H ; expiry
1H ) ; minimum
IN NS localhost.
1 IN PTR localhost.
localhost.zone为:
$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS @
1D IN A 127.0.0.1
b.cn.bind为:
$TTL 86400
$ORIGIN b.cn.
@ IN SOA ns.a.net. root.b.cn. (
1 ; Serial
3600 ; Refresh
900 ; Retry
720000 ; Expire
3600 ) ; Minimum
;IN NS localhost.
IN NS ns.a.net.
IN NS ns1.a.net.
@ IN A 222.14.180.98
www IN A 222.14.180.98
pic IN A 222.14.180.99
* IN A 222.14.180.99
b.cn.cnc为:
$TTL 86400
$ORIGIN b.cn.
@ IN SOA ns.a.net. root.b.cn. (
1 ; Serial
3600 ; Refresh
900 ; Retry
720000 ; Expire
3600 ) ; Minimum
; IN NS localhost.
IN NS ns.a.net.
IN NS ns1.a.net.
@ IN A 218.58.15.154
www IN A 218.58.15.154
pic IN A 218.58.15.155
url IN A 218.58.15.156
* IN A 218.58.15.155