Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open dns port issue on Linux

Posted on 2007-03-19
3
Medium Priority
?
661 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 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

688 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