LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   how to open up firewall for DNS? (https://www.linuxquestions.org/questions/fedora-35/how-to-open-up-firewall-for-dns-301582/)

jdupre 03-14-2005 03:43 PM

how to open up firewall for DNS?
 
I have a FC3 server that will be a webserver and DNS server for the domain. How do I open up the firewall for DNS requests from the outside world?

I see that the default firewall setup allready accepts "multicast DNS" (whatever that is) packets on port 5353, but that alone is not working. (I am testing DNS from a remote windows machine using nslookup.)

Using the system-config-securitylevel tool, I tried adding "domain:udp" to the "other ports" line. But this made the tool hang after exiting. (And cleared all the rules after I ctrl-z'ed.)

Do I have to edit the iptables file to accept DNS requests on port 53?

- Joe

maxut 03-15-2005 08:18 AM

run the followings:
iptables -I INPUT -p udp --dport 53 -j ACCEPT
/etc/init.d/iptables save

it will surely open udp 53 port. and it will save the current rules in your iptables srore file.

good luck.


All times are GMT -5. The time now is 11:01 PM.