[CentOS] Centos 5.4 DNS resolution issue

Gaurav Nangla gaurav.knangla at gmail.com
Mon Mar 8 05:34:56 UTC 2010


I can ping the google.com ip addresses (209.85.231.104) but can't ping the
FQDN, obviously DNS is broken.

I can also ping the nameserver ip addresses specified in /etc/resolv.conf.

-- 
Gaurav

On Sun, Mar 7, 2010 at 10:48 PM, Gaurav Nangla <gaurav.knangla at gmail.com>wrote:

> Hi Everyone,
>
I've setup a Centos 5.4 (x86_64) box in a VM recently; the trouble is I just
> can't get internet to work on it.
>
> Pinging the resolved google.com ips, nameserver ips works fine but DNS
> lookup queries don't.
>
> Here's some of the digging around that I did:
>
> dig google.com
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> google.com
> ;; global options:  printcmd
> ;; connection timed out; no servers could be reached
>
> nslookup google.com
> ;; connection timed out; no servers could be reached
>
> I didn't observe any UDP/TCP packets during dig and nslookup either
>
> cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
>
> nameserver 208.67.220.220
>
> nameserver 208.67.222.222
>
> Also my /etc/nsswitch.conf is in order and contains the "hosts: files dns"
> entry.
>
> What could be wrong?
>
> --
> Best Regards,
> Gaurav
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20100308/298abbbd/attachment.html 


More information about the CentOS mailing list