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

William Warren hescominsoon at emmanuelcomputerconsulting.com
Wed Aug 10 15:37:42 UTC 2005


[root at enoch ~]# dig @localhost

; <<>> DiG 9.2.4 <<>> @localhost
;; global options:  printcmd
;; connection timed out; no servers could be reached


Les Mikesell wrote:
> On Wed, 2005-08-10 at 07:25, William Warren wrote:
> 
>>dig to localhost says:
>>[root at enoch ~]# dig localhost
> 
> 
> dig localhost
> tells the system to ask the server(s) mentioned in /etc/resolve.conf
> to resolve the name localhost.
> 
> What you want is:
> dig @localhost
> which queries the nameserver on the local machine to show you some
> info from the root servers as a useful diagnostic to make sure
> it can reach them.  If you are firewalled in a way that udp on
> port 53 can't get back from the internet and you aren't configured
> to use a forwarder that can get answers, you won't see the
> root servers displayed.  You can also query for specific addresses:
> dig @localhost www.sun.com
> 

-- 
My "Foundation" verse:
Isa 54:17  No weapon that is formed against thee shall prosper; and 
every tongue that shall rise against thee in judgment thou shalt 
condemn. This is the heritage of the servants of the LORD, and their 
righteousness is of me, saith the LORD.

-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)

Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/



More information about the CentOS mailing list