DNS rules
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
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
Quoted 15 lines · On 5/1/05, [email protected] <[email protected]> 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/24I have 2 DNS provided by the ISP.
Is it usefull to have rules for DNS included
in the iptables ?Thanks
Varun
Signature · 2 lines
I love deadlines. I like the whooshing sound they make as they fly by. Douglas Adams