Re: DNS rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Again it depends, how you setup your default policies. In case you are
using recommended "default DROP" then you have to tell iptables to
allow "udp 53" towards your ISP.

iptables -A FORWARD -p udp --dport 53 -j ACCEPT


If you are running a small LAN then running a cache only dns on your
gateway would be beneficial, (that it will cache the lookups)

dnsmasq is excellent cache only dns server and i'm sure you would get
is running within 10 minutes.
you can also use bind in cache only mode.

regards

Askar Ali
On 5/1/05, varun_saa@xxxxxxxx <varun_saa@xxxxxxxx> wrote:
> Hello,
>      My server is on Mandriva 10.1
> eth0 is WAN with static IP connected to 512K DSL
> eth1 is LAN - 192.168.0.0/24 and 192.168.21.0/24
> 
> I have 2 DNS provided by the ISP.
> 
> Is it usefull to have rules for DNS included
> in the iptables ?
> 
> Thanks
> 
> Varun
> 
> 


-- 
I love deadlines. I like the whooshing sound they make as they fly by.
Douglas Adams



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux