LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2003, 02:04 PM   #1
lekien
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 mydomain.com localhost or myserver%nslookup mydomain.com 192.168.0.25 work perfectly. However, I cannot connect to the DNS server from any other computer (inside or outside the local network).
192.168.0.100%nslookup mydomain.com 192.168.0.25 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 192.168.0.25 and 127.0.0.1. It only listend on udp 53 for 0.0.0.0/0. Is this right?
Thanks,
Frank.
 
Old 06-29-2003, 08:09 PM   #2
Robert0380
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
 
  


Reply



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-27-2012 11:50 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
Can't ping localhost (/etc/hosts and DNS are OK) Mr. Gone Linux - Networking 9 10-16-2004 03:05 PM
IPv6 stopping DNS lookup on localhost movery Linux - Networking 1 07-19-2004 03:12 PM
dns requests from localhost to localhost keex Linux - Networking 2 11-13-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:22 AM.

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