CentOS 4.1/bind-9.2.4-2.
I have named serving as a cache DNS server plus SOA for a local intranet
zone.
The problem I am encountering - over a period of time it stops
responding to queries.
nmap scan from a different host shows port 53 is visible. I can telnet
to the port but all queries to server time out. So much so that
"service named status" and "service named restart" hang. I have to
manually kill the named process before I am able to start named again (I
do remove the lock/pid files manually as well). This has occurred about
4 times since I installed CentOS 4.1 4 weeks ago. I have not
encountered any problem with other services running on the same server.
I looked through /var/log/messages and did not find any errors logged by
named. I'd appreciate any thoughts/suggestions to debug this problem.
Here is what I have tried so far to figure out the problem:
(from 192.168.1.150)
$ host www.yahoo.com 192.168.1.21
;; connection timed out; no servers could be reached
# nmapfe of 192.168.1.21 (from 192.168.1.150)
(The 1208 ports scanned but not shown below are in state:
closed)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
(ssh'd into named server using IP# 192.168.1.21)
# service named status
rndc: recv failed: operation canceled
TIA,
--
Arun Khan
Linux is like a wigwam - no gates, no windows, apache inside