DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 3rd, 2012, 01:32 PM
rs87 rs87 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 rs87 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 13 sec
Reputation Power: 0
Root Name Server + TLD Server

Im doing an assignment for DNS on Ubuntu 10 using BIND9. Everything is on an internal network with private IP addresses and not access to the internet.
I have set up my own root name server (.) and a top level domain server (com). I also have another server configured for example.com. In the root name server's zone file I have the A record for the TLD server (com) and when I do "nslookup com" I get the address of the root name server and then the correct address of the com server. When I do "nslookup example.com" I get the output "server cant find example.com: NXDOMAIN".

What I want to do is when I do "nslookup example.com" I want it to return the IP address of the top level domain (com) server. I dont want to include the A record of example.com in the root zone file because then it will give me the address of example.com and not com. Can any please tell me how I can do this?

Here is the zone file of my root name server:
$TTL 604800
$ORIGIN .
@ IN SOA root.net. root.root.net. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
. IN NS root.net.
root.net. IN A 172.16.2.10
com. IN A 172.16.2.11

Reply With Quote
  #2  
Old November 4th, 2012, 11:30 AM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
It's working how it should. In your config, example.com does not exist. So it returns NXDOMAIN. Tagged along with an NXDOMAIN response should normally be the root SOA record as well. I would also suggest using dig instead of nslookup. You'll probably be better off in interpreting and troubleshooting responses.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Root Name Server + TLD Server

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap