Solved

Open dns port issue on Linux

Posted on 2007-03-19
3
653 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

751 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