- 论坛徽章:
- 0
|
message
# Aug 30 00:40:44.106 starting BIND 9.2.3 -gc /etc/named.conf
Aug 30 00:40:44.109 using 1 CPU
Aug 30 00:40:44.128 loading configuration from '/etc/named.conf'
Aug 30 00:40:44.133 listening on IPv4 interface lo0, 127.0.0.1#53
Aug 30 00:40:44.136 binding TCP socket: address in use
Aug 30 00:40:44.136 listening on IPv4 interface pcn0, 192.168.63.2#53
Aug 30 00:40:44.137 binding TCP socket: address in use
Aug 30 00:40:44.149 couldn't add command channel 127.0.0.1#953: address in use
Aug 30 00:40:44.149 couldn't add command channel ::1#953: address not available
Aug 30 00:40:44.150 ignoring config file logging statement due to -g option
Aug 30 00:40:44.158 named.rxjmu.edu.cn:15: file does not end with newline
Aug 30 00:40:44.158 zone 63.168.192.in-addr.arpa/IN: loaded serial 9999
Aug 30 00:40:44.159 zone 255.in-addr.arpa/IN: loaded serial 42
Aug 30 00:40:44.160 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/IN: loaded serial 1997022700
Aug 30 00:40:44.161 named.xjmu.edu.cn:15: file does not end with newline
Aug 30 00:40:44.161 zone test.com/IN: loaded serial 1997022703
Aug 30 00:40:44.161 running
Aug 30 00:40:44.168 zone 63.168.192.in-addr.arpa/IN: sending notifies (serial 9999)
Aug 30 00:40:44.168 zone test.com/IN: sending notifies (serial 1997022703)
named.conf
//
// 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";
forward first;
forwarders {
61.128.99.133;
};
/*
* 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;
};
//
// a caching only nameserver config
//
//logging{
// Channel syslog_info{
// File "/var/log/bindall.log" version 20 size 2M;
// Print-category yes;
// Print-time yes;
// Severity notice;
// };
// category default {
// syslog_info;
// };
//};
zone "." IN {
type hint;
file "named.ca";
};
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" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "test.com" IN {
type master;
file "named.xjmu.edu.cn";
allow-update { none; };
};
zone "63.168.192.in-addr.arpa" IN {
type master;
file "named.rxjmu.edu.cn";
allow-update { none; };
}; |
|