//named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
// query-source address * port 53;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "agon.com" IN {
type master;
file "named.hosts";
};
zone "168.192.in-addr.arpa" IN {
type master;
file "named.168.192";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
// include "/etc/rndc.key";
//named.hosts
@ IN SOA ns.agon.com. root.ns.agon.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.agon.com
agon IN A 192.168.0.250
业务室 IN A 192.168.0.51
技服 IN A 192.168.0.52
jjs IN A 192.168.0.1
ftp IN CNAME agon
agon1 IN CNAME 业务室
jf IN CNAME 技服
//named.168.192
@ IN SOA ns.agon.com. root.ns.agon.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.agon.com
250 IN NS ns.agon.com
//named.local
$TTL 86400
@ IN SOA ns.agon.com. root.ns.agon.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.agon.com
250 IN PTR localhost.