Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-22-2000, 10:27 AM   #1
Member (13 bit)
 
M. A. Dockter's Avatar
 
Join Date: Mar 1999
Location: Cedar Rapids, IA
Posts: 4,130
Send a message via AIM to M. A. Dockter
A buddy of mine and I were talking, and we got upon a topic both of us had no clue upone.

When a client requests a domain name, such as http://www.pcmech.com, how does the DNS system work? We found two possibilities that seem to work:

  1. Client asks's ISP DNS server which Authoritive Name Server controls pcmech.com, then it asks that server the IP of the computer www on the comain pcmech.com

  2. ISP DNS servers go about asking all root servers for their databases, and builds it's own based upon all other servers it's talked to, so, in effect, each ISP DNS server has a copy of all DNS name resoloution possibilities



We'd appriciate someone to tell us the correct way things are done.
__________________
Matthew A. Dockter
Contact me via email
M. A. Dockter is offline   Reply With Quote
Old 12-22-2000, 12:28 PM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Hi Dok:
The answer is (2)



There are 2 kinds of lookups actually iterative & recursive..
In iterative: The client's DNS request, say http://www.institution.ernet.in [a UDP packet by gethostbyname() ]if not found on the cached DNS tables of the ISP, is then sent by the ISP to the root server of the domain in question - .in. The Root server simply sends the address of the server [lets call it 'ABC'] that has the SOA for the domain. The ISP's server now with this information asks 'ABC' for the information pertaining to the .ernet and is responded to with a new server address.. and so on.
Remember the tree system of DNS is bottom up as opposed to a filesystem.

In terms of a recursive lookup, the resolver actually sends recursive queries. The queried name server then has the obligation to respond with the answer to that query or with an error code. The name server cannot refer the resolver to another name server. In case the queried name server is not authoritative for the requested data, it has to resolve the query itself, either recursively or iteratively.

Current implementations resolve the query iteratively and do not pass the query to another server.

Hope this is of some use...

Cheers
Statica is offline   Reply With Quote
Old 12-22-2000, 04:10 PM   #3
Member (13 bit)
 
M. A. Dockter's Avatar
 
Join Date: Mar 1999
Location: Cedar Rapids, IA
Posts: 4,130
Send a message via AIM to M. A. Dockter
I was right!...kinda. I guess he didn't think that each ISP would want a so called "HUGE" database to deal with.

Thanks for the info EX!
M. A. Dockter is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:56 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2