Sign In
New User? Register
linux_chandigarh · Linux_Chandigarh_Chapter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
about DNS Query(read it must)   Message List  
Reply | Forward Message #487 of 927 |
Re: [linux_chandigarh] about DNS Query(read it must)

Hi Pardeep,
 

Queries come in two flavors, recursive and iterative (or nonrecursive). Recursive queries place most of the burden of resolution on a single name server. Recursion, or recursive resolution, is just a name for the resolution process used by a name server when it receives recursive queries. As with recursive algorithms in programming, the name server repeats the same basic process (querying a remote name server and following any referrals) until it receives an answer.

Iteration, or iterative resolution, refers to the resolution process used by a name server when it receives iterative queries. Iterative resolution, on the other hand, doesn't require nearly as much work on the part of the queried name server. In iterative resolution, a name server simply gives the best answer it already knows back to the querier. No additional querying is required. The queried name server consults its local data (including its cache), looking for the data requested. If it doesn't find the answer there, it finds the names and addresses of the name servers closest to the domain name in the query in its local data, and returns that as a referral to help the querier continue the resolution process. Note that the referral includes all of the name servers listed in the local data; it's up to the querier to choose which one to query next.

Simply speaking, the recursive query asks the DNS server to fetch the exact answer. So it answers even for non-authoritative records. Whereas in Iterative, the server gives the best answer from its cache. It may be referall to an uathoritative DNS server for that domain and stops there. DOesn't really go and fetch answer from those.

Best Regards
 
Arminder S Girgla
Moderator
----- Original Message -----
Sent: Sunday, September 10, 2006 6:02 PM
Subject: [linux_chandigarh] about DNS Query(read it must)

Hi Dear my all Linux Friends
How r u
Friends I know well about DNS and also its resolution from client to server.
 
Actually i m confusing about thoerotically to find difference between Iteration query and Recursive Query to DNS by client.Plese anyone can describe me in simple way.
 
I m waiting for reply from my linux borthers
Regards:
Pardeep Sharma


Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW


Tue Sep 12, 2006 8:04 pm

armindersingh
Offline Offline
Send Email Send Email

Attachment
stime=1157941264
Type:
application/octet-stream
Forward
Message #487 of 927 |
Expand Messages Author Sort by Date

Hi Dear my all Linux Friends How r u Friends I know well about DNS and also its resolution from client to server. Actually i m confusing about thoerotically to...
Pardeep Sharma
itspardeep.s...
Offline Send Email
Sep 11, 2006
2:21 am

Hi Pardeep, This may help (Ref: http://www.unix.org.ua/orelly/networking_2ndEd/dns/ch02_06.htm): Queries come in two flavors, recursive and iterative (or...
Arminder Singh Girgla
armindersingh
Offline Send Email
Sep 12, 2006
8:06 pm

hi dear thankes for it its really clear my fanda also. thankes again Vinod Chahal Arminder Singh Girgla <arminder@...> wrote: Hi Pardeep, This may help...
vini chahal
vini_chahal
Offline Send Email
Sep 13, 2006
11:42 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help