//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
forwarders {192.168.84.63;192.168.84.64;};
};
zone "localdomain" {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
allow-update { none; };
};
zone "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 "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" {
type master;
file "named.zero";
allow-update { none; };
};
zone "84.168.192.in-addr.arpa" {
type master;
file "84.168.192.zone";
};
zone "XXX.com.cn" {
type master;
file "XXX.com.cn.zone";
};
include "/etc/rndc.key";
//
// var/named/XXX.com.cn.zone
//
$TTL 86400
@ IN SOA ns.XXX.com.cn hostmaster.XXX.com.cn {
2002010828 ; Serial
3H ; Refresh
2H ; Retry
4W ; Expire
3D ; Minimum
}
IN NS 192.168.84.101
IN MX 10 192.168.84.36
eoffice IN A 192.168.84.101
tyzd IN A 192.168.84.131