LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-27-2004, 09:14 AM   #1
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
DNS Configuration


I've got a Named server running on 2 machines at work. They were working great when i was hired. Sadly dns2, the secondary dns server, went down due to hardware failure.

I brought it back up, and re-installed everything - working great. However, just last night for the first time since...i tried hitting the server's by hostname from my home and name resolution failed. Worked with the IP's though.

named server was and is up and running.

i'm kinda lost as to what changed and why....and looking for direction.

How do i notify the root servers of my NS?

Any help, suggestions, docs would be appreciated.
 
Old 09-27-2004, 09:37 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
If I understood your post correctly, you simply rebuilt your secondary DNS server with the same name/IP. Correct? If so, you shouldn't need to submit a change to the root name servers unless you changed the name or IP address of your secondary.

A good tool to debug DNS problems is the "dig" command. In particular, using the +trace option. i.e.

dig +trace mydomain.com ns

The above will follow the recursion from the root name servers back to your name server. You should be able to spot any obvious config errors.
 
Old 09-27-2004, 10:29 AM   #3
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Original Poster
Rep: Reputation: 30
Yea, that's correct...

I ran the command...my servers appear - both DNS and DNS2

;; global options: printcmd
. 429008 IN NS A.ROOT-SERVERS.NET.
. 429008 IN NS B.ROOT-SERVERS.NET.
. 429008 IN NS C.ROOT-SERVERS.NET.
. 429008 IN NS D.ROOT-SERVERS.NET.
. 429008 IN NS E.ROOT-SERVERS.NET.
. 429008 IN NS F.ROOT-SERVERS.NET.
. 429008 IN NS G.ROOT-SERVERS.NET.
. 429008 IN NS H.ROOT-SERVERS.NET.
. 429008 IN NS I.ROOT-SERVERS.NET.
. 429008 IN NS J.ROOT-SERVERS.NET.
. 429008 IN NS K.ROOT-SERVERS.NET.
. 429008 IN NS L.ROOT-SERVERS.NET.
. 429008 IN NS M.ROOT-SERVERS.NET.
;; Received 404 bytes from 207.42.135.117#53(207.42.135.117) in 5 ms

dm. 172800 IN NS TLD1.ULTRADNS.NET.
dm. 172800 IN NS TLD2.ULTRADNS.NET.
dm. 172800 IN NS NS1.NIC.dm.
dm. 172800 IN NS NS2.NIC.dm.
;; Received 178 bytes from 198.41.0.4#53(A.ROOT-SERVERS.NET) in 128 ms

SAT.dm. 86400 IN NS DNS2.SAT.DM.
SAT.dm. 86400 IN NS DNS.SAT.DM.
;; Received 112 bytes from 204.74.112.1#53(TLD1.ULTRADNS.NET) in 139 ms

sat.dm. 86400 IN NS dns.sat.dm.
sat.dm. 86400 IN NS dns2.sat.dm.
;; Received 93 bytes from 207.42.135.121#53(DNS2.SAT.DM) in 2 ms

is the above favourable output?

try to get to the domain plz. it doesn't seem to work from the outside. And my testing is limited to internal access, which works quite nicely

thanx for ur help

Last edited by DoubleOTeC; 09-27-2004 at 10:38 AM.
 
Old 09-27-2004, 01:18 PM   #4
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Holy Cow! Batman

Based on the results I get at this end, I would get with your domain registrar and/or ISP and fix the delegation records for sat.dm. They are hosed. In fact, have you even registered your domain?

If you want to see where the delegation is broke from your end, manually trace the recursion back from the root name servers.

[root@excelsior scowles]# dig +short @a.root-servers.net dm ns
TLD2.ULTRADNS.NET.
NS1.NIC.dm.
NS2.NIC.dm.
TLD1.ULTRADNS.NET.

[root@excelsior scowles]# dig +short @tld1.ultradns.net sat.dm ns
[root@excelsior scowles]#

Notice that tld1.ultradns.net did not return an answer. i.e. the actual NS delegation records. If the delegation (registration) records were correct at these servers, they should return two NS records that point to dns.sat.dm and dns2.sat.dm. In fact, to further complicate things, NS1.NIC.DM returns SERVFAIL and NS2 returns another TLD delegation. In short, queries from external sources will never query your two name servers because of the broken delegation.

Thats all I got. Good luck in fixing this problem. Once you do, your DNS servers will work from external sources

BTW: I can query both your DNS servers directly using their IP addresses and both return the proper answers for sat.dm.
 
  


Reply


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
DNS configuration ?? xedios Linux - Software 6 12-23-2004 02:59 PM
DNS Configuration skecs Linux - Networking 10 11-17-2004 09:31 AM
DNS configuration? existo Slackware 1 01-30-2004 01:43 PM
DNS Configuration jojogeorge Linux - Software 3 09-23-2003 07:01 AM
DNS configuration how to jdevanand Linux - Networking 7 02-16-2002 11:57 PM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration