Re: inconsistent DNS results - ping vs dig vs nslookup

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



> -----Original Message-----
> Behalf Of robert henrichs
> Subject:  inconsistent DNS results - ping vs dig vs nslookup
> 
> I am getting what I believe to be inconsistent replies/results from
> my CentOs machine, trying to ping URLs.  Pinging by URL fails the DNS
> lookup, while pinging the IP address (that should have been returned)
> works.  The DNS lookup also fails NSLOOKUP, but interestingly, dig
> and wget return A records with the correct IP.
> 

What does your "hosts:" entry in /etc/nsswitch.conf look like? Does is
list dns as a source?

Mine looks like this:

hosts:      files dns

--
Owen Beckley



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[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