Caching nameserver -- Name Services Cache Daemon (nscd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2005-08-10 at 07:25, William Warren wrote:
> dig to localhost says:
> [root@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

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux