Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-29-2003, 03:04 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
cannot use DNS server except on localhost

I am running a RedHat 9 server at home. It has a private static IP and uses my DSL router. I installed named / bind and I was planning to run DNS for my domain. I did it twice and got the same results twice. The DNS server works fine when I check in on the server. is. myserver%nslookup localhost or myserver%nslookup work perfectly. However, I cannot connect to the DNS server from any other computer (inside or outside the local network). returns
named ;; connection timed out; no server could be reached
after a while.
How is this possible? I made a lot of changes in the named.conf file (using allow-query {any;}, changing port, ...) and allowed everything on port 53 in the iptables. Nothing works. When I run netstat -nl, it tells me that it listens on udp/tcp port 53 for and It only listend on udp 53 for Is this right?
Old 06-29-2003, 09:09 PM   #2
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
1st check, make sure your firewall isnt 2 strict
i think DNS is port 53, udp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-28-2012 12:50 AM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 02:48 PM
Can't ping localhost (/etc/hosts and DNS are OK) Mr. Gone Linux - Networking 9 10-16-2004 04:05 PM
IPv6 stopping DNS lookup on localhost movery Linux - Networking 1 07-19-2004 04:12 PM
dns requests from localhost to localhost keex Linux - Networking 2 11-13-2003 02:47 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration