// generated by named-bootconf.pl
options {
directory "/var/named";
listen-on port 53 {172.16.1.1/24;};
/*
* 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
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
Самый, что ни на есть станадртный конфиг...
Логи вот они (кусок /var/log/messages)
Jun 16 07:18:15 test named[29048]: shutting down: flushing changes
Jun 16 07:18:15 test named[29048]: stopping command channel on 127.0.0.1#953
Jun 16 07:18:15 test named[29048]: no longer listening on 127.0.0.1#53
Jun 16 07:18:15 test named[29048]: no longer listening on A.B.C.D#53
Jun 16 07:18:15 test named[29048]: no longer listening on 172.16.1.1#53
Jun 16 07:18:15 test named[29048]: exiting
Jun 16 15:18:15 test named: succeeded
Jun 16 07:18:17 test named[32280]: starting BIND 9.2.2-P3 -u named -t /var/named/chroot
Jun 16 07:18:17 test named[32280]: using 1 CPU
Jun 16 15:18:17 test named: çàïóñê named succeeded
Jun 16 07:18:17 test named[32280]: loading configuration from '/etc/named.conf'
Jun 16 07:18:17 test named[32280]: no IPv6 interfaces found
Jun 16 07:18:17 test named[32280]: listening on IPv4 interface lo, 127.0.0.1#53
Jun 16 07:18:17 test named[32280]: listening on IPv4 interface eth0, A.B.C.D#53
Jun 16 07:18:17 test named[32280]: listening on IPv4 interface eth1, 172.16.1.1#53
Jun 16 07:18:17 test named[32280]: command channel listening on 127.0.0.1#953
Jun 16 07:18:17 test named[32280]: running