[CentOS] DNS resolve.conf not working

chrism at imntv.com chrism at imntv.com
Tue Sep 5 11:55:33 UTC 2006

Ed Morrison wrote:
>> What happens if you issue
>> host www.centos.org
>> Ralph
> [root at ftp ~]# host www.centos.org
> ;; connection timed out; no servers could be reached
> [root at ftp ~]#

That probably means one of the following:

1.  port 53 is being filtered on the ftp host
2.  port 53 is being filtered on the host
3.  there is no name server running on

Try this and see if name service begins working.

/etc/rc.d/init.d/iptables stop

If that fixes things, then you need to visit your iptables config and 
allow DNS queries in/out.

Hope that helps.


More information about the CentOS mailing list