[CentOS] DNS resolve.conf not working

Johnny Hughes mailing-lists at hughesjr.com
Tue Sep 5 14:03:08 UTC 2006


On Tue, 2006-09-05 at 06:30 -0700, Ed Morrison wrote:
> >
> > 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.
> >
> >
> Hi Chris:
> 
> Unfortunately, I have already stopped the firewall and DNS is running on 
> 192.168.1.4.
>   I took 192.168.1.4 out of the equation and used all the DNS servers 
> that I have access to.... same result.
> 
> [root at ftp ~]# iptables -L -v -n
> Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
>  pkts bytes target     prot opt in     out     source               
> destination        
> 
> Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
>  pkts bytes target     prot opt in     out     source               
> destination        
> 
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
>  pkts bytes target     prot opt in     out     source               
> destination        
> [root at ftp ~]#

This is quite strange .... I can assure you that centos-4.4 can connect
and do name lookups.

Do you not have bind client software installed on this machine?

Is there some kind of proxy server where port 53 udp traffic might
somehow be blocked?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060905/d60a3c1d/attachment.bin


More information about the CentOS mailing list