[CentOS] Caching nameserver -- Name Services Cache Daemon (nscd)

Les Mikesell lesmikesell at gmail.com
Wed Aug 10 16:00:24 UTC 2005


On Wed, 2005-08-10 at 10:37, William Warren wrote:
> [root at enoch ~]# dig @localhost
> 
> ; <<>> DiG 9.2.4 <<>> @localhost
> ;; global options:  printcmd
> ;; connection timed out; no servers could be reached

OK, this can either mean that named isn't running or isn't listening
on the 127.0.0.1 interface (/var/log/messages should tell you if
it started up and bound to that interface), or it could mean
that you aren't able to contact the root servers.

If the server is running, then you either need to make sure that
udp and tcp, port 53 can get to the internet and back with
appropriate NATting, or you have to add forwarding info to named.conf
to pass the queries through an upstream server that does have full
internet access.

Running 'tcpdump port 53' in another window can help you see where
your query is going and whether you are getting answers.

-- 
   Les Mikesell
     lesmikesell at gmail.com





More information about the CentOS mailing list