DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 9th, 2008, 09:25 AM
section31 section31 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 111 section31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 9 m 56 sec
Reputation Power: 4
Domain name with nameservers on another domain

Ok, I'm still having trouble grasping the entire concept of how DNS works and was hoping one of you guys can help me out.

From a book I've been reading, I understand that registrars are responsible for providing the registry operator for the gTLD which consists of the second level domain name and the name and ip addresses of the authoritative dns servers for the domain. However, I don't understand how it works if you don't want to register nameservers for that domain and you want to use nameservers on another domain.

Example: I have a domain section31.us
Using dave's tool I make a query for that domain and I get this.
Code:
Querying a.root-servers.net (198.41.0.4)... delegated
  Querying I.GTLD.BIZ (156.154.96.126)... delegated
    Querying NS2.DREAMHOST.COM (208.96.10.221)...
Received authoritative response

  1. I understand that the first query is to a.root-servers.net which is one of the 13 root namerservers.
  2. It then refers it to I.GTLD.BIZ, one of .us nameservers.
  3. It then refers to NS2.DREAMHOST.COM which is one of the authoritative dns servers for section31.us

My question is, since that nameserver is hosted on another domain, how does it know the ip of NS2.DREAMHOST.COM without performing a whole new dns query for dreamhost.com?

--

Last edited by section31 : April 9th, 2008 at 09:29 AM.

Reply With Quote
  #2  
Old April 10th, 2008, 01:44 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 12 m 19 sec
Reputation Power: 76
Funny guy, so you'd rather tell me about this post in IRC rather than simply get your answers there or via email. Alrighty, then.

Ok, so here's your query for section31.us again:
resolve section31.us

I think you're asking how it knows that "ns3.dreamhost.com" (for example) resolves to 66.33.216.216 without doing an extra lookup. It doesn't - unless the dns server has previously made this request and cached the answer. Also, click the aqua colored "C.GTLD.BIZ" to see its response.

resolve section31.us via C.GTLD.BIZ

Notice that it only lists the 3 name servers without any IPs. But now let's click on "ns1.dreamhost.com" and then roll back to "G.GTLD-SERVERS.NET" by clicking on it.

resolve ns1.dreamhost.com via G.GTLD-SERVERS.NET

Now you see that the IP addresses are provided along with the name server domains. This means an extra lookup does not have to take place - ever.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old April 10th, 2008, 10:40 AM
section31 section31 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 111 section31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 9 m 56 sec
Reputation Power: 4
Thanks for the reply, but I'm still confused lol.

The tld nameserver that holds the records for section31.us is C.GTLD.BIZ and not G.GTLD-SERVERS.NET. So the fact that you are saying G.GTLD-SERVERS.NET has the ips to ns1.dreamhost.com...doesn't that make it a an extra lookup?

Reply With Quote
  #4  
Old April 11th, 2008, 07:53 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 12 m 19 sec
Reputation Power: 76
"I think you're asking how it knows that "ns3.dreamhost.com" (for example) resolves to 66.33.216.216 without doing an extra lookup. It doesn't - unless the dns server has previously made this request and cached the answer."

By saying "It doesn't" I was disagreeing with the point that it can go "without doing an extra lookup". Cancel out the double negatives, and you'll see that the post is basically saying: "Yes, it has to do an extra lookup and here's the proof, but it isn't a big deal cause of dns caching".
Comments on this post
section31 agrees!

Reply With Quote
  #5  
Old April 14th, 2008, 01:25 AM
section31 section31 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 111 section31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 9 m 56 sec
Reputation Power: 4
Ah I see, thanks for the reply dave. You're the best.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Domain name with nameservers on another domain


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway