DNS and IPTables

Andrew Jacobs yellowdog-general@lists.terrasoftsolutions.com
Fri Sep 26 09:51:13 2003


I'm trying to set up a simple DNS server on YDL 3.0, but somehow I 
can't figure out what's going on with my IPTables--they seem to be 
stopping DNS traffic from passing through.  If I stop my IPTables, the 
DNS works just fine.  Also if I query locally, it works as well.  
Here's the command I've entered:

iptables -A INPUT -p tcp -i eth0 --destination-port 53 -j ACCEPT

Shouldn't that be enough?  Doing a tcpdump reveals a prompt "udp port 
domain unreachable [tos 0xc0] ."

Andrew Jacobs