全部博文(75)
分类:
2005-02-26 19:27:39
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "master/localhost.rev";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA"
{
type master;
file "master/localhost-v6.rev";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT"
{
type master;
file "master/localhost-v6.rev";
};
zone "hbaoy.com" {
type master;
file "master/hbaoy.com";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "master/1.168.192.in-addr.arpa";
};
$TTL 3600
@ IN SOA freebsd1.hbaoy.com. root.freebsd1.hbaoy.com. (
20041027 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS freebsd1.hbaoy.com.
@ IN NS hbaoy.com.
121 IN PTR localhost.hbaoy.com.
121 IN PTR freebsd1.hbaoy.com.
130 IN PTR daney.hbaoy.com.
121 IN PTR freebsd1.hbaoy.com.
$TTL 3600
hbaoy.com. IN SOA freebsd1.hbaoy.com. . (
20041027 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS freebsd1.hbaoy.com.
@ IN A 192.168.1.121
freebsd1 IN A 192.168.1.121
www IN CNAME @
mail IN CNAME @
@ IN MX 10 mail.hbaoy.com.
daney IN A 192.168.1.130
$TTL 3600
@ IN SOA freebsd1.hbaoy.com. root.freebsd1.hbaoy.com. (
20041028 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS freebsd1.hbaoy.com.
1 IN PTR localhost.hbaoy.com.