Quote:
Originally Posted by bathory
Could you please post the output of the commands
Code:
ps -ef|grep named
named-checkconf -z
and the relevant lines from /var/log/messages, or /var/log/syslog (whatever file named writes its logs), when you restart named.
Also since I don't use debian, what's in /etc/bind/named.conf.options and /etc/bind/named.conf.local
|
mail:~# ps -ef|grep named
bind 6082 1 0 08:56 ? 00:00:00 /usr/sbin/named -u bind
root 6184 6178 0 11:00 pts/2 00:00:00 grep named
mail:~# named-checkconf -z
zone localhost/IN: loaded serial 1
zone 127.in-addr.arpa/IN: loaded serial 1
zone 0.in-addr.arpa/IN: loaded serial 1
zone 255.in-addr.arpa/IN: loaded serial 1
/etc/bind/db.hotelpart.com:4: no current owner name
/etc/bind/db.hotelpart.com:5: no current owner name
/etc/bind/db.hotelpart.com:13: no current owner name
/etc/bind/db.hotelpart.com:14: no current owner name
/etc/bind/db.hotelpart.com:15: no current owner name
/etc/bind/db.hotelpart.com:16: no current owner name
/etc/bind/db.hotelpart.com:17: no current owner name
zone hotelpart.com/IN: loading master file /etc/bind/db.hotelpart.com: no owner
_default/hotelpart.com/IN: no owner
/etc/bind/db.111.20.11.200:4: no current owner name
/etc/bind/db.111.20.11.200:5: no current owner name
/etc/bind/db.111.20.11.200:12: no current owner name
/etc/bind/db.111.20.11.200:13: no current owner name
/etc/bind/db.111.20.11.200:14: no current owner name
/etc/bind/db.111.20.11.200:15: no current owner name
zone 111.20.11.200.in-addr.arpa/IN: loading master file /etc/bind/db.111.20.11.200: no owner
_default/111.20.11.200.in-addr.arpa/IN: no owner
File /var/log/syslog
Apr 2 06:25:09 mail syslogd 1.4.1#18: restart.
Apr 2 06:43:00 mail -- MARK --
Apr 2 07:03:00 mail -- MARK --
Apr 2 07:17:01 mail /USR/SBIN/CRON[6026]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 2 07:43:01 mail -- MARK --
Apr 2 08:03:01 mail -- MARK --
Apr 2 08:17:01 mail /USR/SBIN/CRON[6040]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 2 08:43:01 mail -- MARK --
Apr 2 08:56:17 mail named[2490]: shutting down: flushing changes
Apr 2 08:56:17 mail named[2490]: stopping command channel on 127.0.0.1#953
Apr 2 08:56:17 mail named[2490]: stopping command channel on ::1#953
Apr 2 08:56:17 mail named[2490]: no longer listening on ::#53
Apr 2 08:56:17 mail named[2490]: no longer listening on 127.0.0.1#53
Apr 2 08:56:17 mail named[2490]: no longer listening on 10.0.0.250#53
Apr 2 08:56:17 mail named[2490]: no longer listening on 200.11.20.111#53
Apr 2 08:56:17 mail named[2490]: exiting
Apr 2 08:56:19 mail named[6082]: starting BIND 9.3.4-P1.1 -u bind
Apr 2 08:56:19 mail named[6082]: found 1 CPU, using 1 worker thread
Apr 2 08:56:19 mail named[6082]: loading configuration from '/etc/bind/named.conf'
Apr 2 08:56:19 mail named[6082]: listening on IPv6 interfaces, port 53
Apr 2 08:56:19 mail named[6082]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 2 08:56:19 mail named[6082]: listening on IPv4 interface eth1, 10.0.0.250#53
Apr 2 08:56:19 mail named[6082]: listening on IPv4 interface eth0, 200.11.20.111#53
Apr 2 08:56:19 mail named[6082]: command channel listening on 127.0.0.1#953
Apr 2 08:56:19 mail named[6082]: command channel listening on ::1#953
Apr 2 08:56:19 mail named[6082]: zone 0.in-addr.arpa/IN: loaded serial 1
Apr 2 08:56:19 mail named[6082]: zone 127.in-addr.arpa/IN: loaded serial 1
Apr 2 08:56:19 mail named[6082]: /etc/bind/db.111.20.11.200:4: no current owner name
Apr 2 08:56:19 mail named[6082]: zone 111.20.11.200.in-addr.arpa/IN: loading master file /etc/bind/db.111.20.11.200: no owner
Apr 2 08:56:19 mail named[6082]: zone 255.in-addr.arpa/IN: loaded serial 1
Apr 2 08:56:19 mail named[6082]: /etc/bind/db.hotelpart.com:4: no current owner name
Apr 2 08:56:19 mail named[6082]: zone hotelpart.com/IN: loading master file /etc/bind/db.hotelpart.com: no owner
Apr 2 08:56:19 mail named[6082]: zone localhost/IN: loaded serial 1
Apr 2 08:56:19 mail named[6082]: running
Apr 2 09:17:01 mail /USR/SBIN/CRON[6096]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 2 09:43:02 mail -- MARK --
Apr 2 10:03:02 mail -- MARK --
Apr 2 10:11:49 mail named[6082]: lame server resolving 'www.estadosp.com.br' (in 'estadosp.com.br'?): 72.233.50.75#53
Apr 2 10:11:49 mail named[6082]: lame server resolving 'www.estadosp.com.br' (in 'estadosp.com.br'?): 72.233.50.76#53
Apr 2 10:17:01 mail /USR/SBIN/CRON[6133]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 2 10:43:03 mail -- MARK --
Apr 2 11:03:03 mail -- MARK --
--------------------------------------------------------------
/etc/bind/named.conf.options
options {
directory "/var/cache/bind";
// 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 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
----------------------------------------------------------------
File /etc/bind/named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
Thanks!!!