Solved

Open dns port issue on Linux

Posted on 2007-03-19
3
649 Views
Last Modified: 2013-12-06
Dear experts,
I'm haveing a issue to open a dns port on Fedaro Core 4.
I have tried using /usr/sbin/lokkit and put 53:tcp in Other ports. And then click ok to exit.
I used namp hostname and cannot see port 53 was opened and also cannot telnet hostname 53.
I also tried restart service iptables.

Please let me know how to fix the issue.

Thanks,
Yan
0
Comment
Question by:luyan
  • 2
3 Comments
 
LVL 24

Expert Comment

by:slyong
ID: 18752018
DNS is using UDP if I am not wrong.  Try opening 53:UDP instead of TCP.
0
 

Author Comment

by:luyan
ID: 18756002
sorry, one of opened port on my another dns machine is 53:tcp.

Thanks
0
 
LVL 24

Accepted Solution

by:
slyong earned 500 total points
ID: 18758482
Hi luyan,

check out this http://www.cyberciti.biz/tips/linux-iptables-12-how-to-block-or-open-dnsbind-service-port-53.html.  DNS queries are handled via UDP and only larger request (e.g. zone transfer) is handle via TCP.  The example also shows how to open up port for incoming DNS request or outgoing DNS request.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question