dns uses udp not tcp...  you opened the tcp port 53... you need to upen
udp pot 53 instead.

-matt

On Thu, 25 Sep 2003, Andrew Jacobs wrote:

> I'm trying to set up a simple DNS server, 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
>
>
> ____________________
> BYU Unix Users Group
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to