[CentOS] named is up but does not respond to queries

Wed Aug 24 17:32:47 UTC 2005
bryan davis <bdavis at skymailer.skyauction.com>

I've encountered the same problems using the 4.1 SRPMs rebuilt for a RH9 
machine I haven't had a chance to port to Centos 4.  I've made about as much 
progress on the issue as you have. I've got pretty extensive logging in 
named turned on and queries just stop running at a certain point and it 
hangs until I kill -9 the process.


----- Original Message ----- 
From: "Arun K. Khan" <knura at yahoo.com>
To: "CentOS mailing list" <centos at centos.org>
Sent: Wednesday, August 24, 2005 10:34 AM
Subject: [CentOS] named is up but does not respond to queries


> 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>