[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 192.168.1.4?
>>
>> Ralph
>>
> [root at ftp ~]# host www.centos.org 192.168.1.4
> ;; 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 192.168.1.4 host
3. there is no name server running on 192.168.1.4
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.
Cheers,
More information about the CentOS
mailing list