[CentOS] DNS

Monty Shinn montys at videopost.com
Fri May 9 13:57:11 UTC 2008


gopinath wrote:
> hi
>  
> I have defined
> search localhost in /etc/resolv.conf
>  
> cat /etc/resolv.conf
> search localhost
>  
> i did not define any nameserver ip address in this file
>  
> i have given the gw ip from where the internet can be reached
>  
> no dns is running in gateway.
> no dns service is running on the PC
> no bind packages are installed on pc
>  
> but still if i ping to some domain like
> ping www.google.com <http://www.google.com> it resolves and displayes 
> icmp replies.
>  
>  
> i dont know from where this name resolution is taking place
>  
> please help on this what happens exactly.
>  
> Regards,
> Gopinath M
> Signal Networks Pvt. Ltd.
>  
> 
> Smile... it increases your face value!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Try dig.  >>dig www.google.com<<

Under the SERVER section, that should give you the information on where 
the DNS data came from.  For instance, my SERVER name is the local ip 
address of my DNS server.

HTH

Monty



More information about the CentOS mailing list