DNS and IPTables

nathan r. hruby yellowdog-general@lists.terrasoftsolutions.com
Fri Sep 26 10:07:01 2003


On Thu, 25 Sep 2003, Andrew Jacobs wrote:

> 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
> 

Duh... change the tcp to udp :)

-n
-- 
-------------------------------------------
nathan hruby <nhruby@uga.edu>
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-------------------------------------------