Iptables problem on DNS Server
Quoted 4 lines · Joe de Vera Jr.
hello...
the scenario is this.. my DNS can't resolve when i activate the firewall on this machine..
What rules do you have ?
Antony.
Quoted 3 lines
named.conf { query-source port 53; } .. what else do i forgot to do here so that when i can run the DNS server with firewall on it... can some one show me the door thru it.. thanks...
In order to let a DNS work you have to:
- allow it to send packets to port 53 on UDP and TCP to other DNS servers.
- allow it to receive request on port 53 on UDP and TCP from hosts and others DNS servers.
Also, i recomend upgrading to 9.2.1 (9.2 contains a bug that allows someone to down your named) and use ACLs in named.conf, to specify who is allowed to request a zone transfer, normal request and who is not allowed anything at all.
Regards,
Maciej Soltysiak
hello...
I'm having problem on my linux box running named (BIND 9.2) when I also run the iptables...
I'm using the latest version of iptables and a 2.4.12 version of kernel.
the scenario is this.. my DNS can't resolve when i activate the firewall on this machine.. i'm running my iptables in default and with all the blocking stuff .. for the sites.. and i also activate the commented code in the named.conf { query-source port 53; } .. what else do i forgot to do here so that when i can run the DNS server with firewall on it... can some one show me the door thru it.. thanks...
joe