Register a domain and help support LQ
 Home Forums HCL Reviews Tutorials Articles Register Search Today's Posts Mark Forums Read
 LinuxQuestions.org how do I use nslookup to determine if a name server is iterative or recursive?
 Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

 09-20-2012, 07:56 PM #1 zonabay LQ Newbie   Registered: Sep 2012 Posts: 1 Rep: how do I use nslookup to determine if a name server is iterative or recursive? like stated above: how do I use nslookup to determine if a name server is iterative or recursive?
 09-20-2012, 08:04 PM #2 Habitual Senior Member   Registered: Jan 2011 Distribution: Undecided Posts: 3,619 Blog Entries: 1 Rep: this may help. 1 members found this post helpful.
 09-21-2012, 04:14 PM #3 jefro Guru   Registered: Mar 2008 Posts: 12,087 Rep: I think that was good enough to quote. "Contrasting Iterative and Recursive Resolution To help explain the difference between these methods, let's take a side-trip to a real-world case. Suppose you are trying to find the phone number of your old friend Carol, with whom you haven't spoken in years. You call your friend Joe; he doesn't have Carol's number, but he gives you John's number, suggesting you call him. So you dial up John; he doesn't have the information but he knows the number of Carol's best friend, Debbie, and gives that to you. You call Debbie and she gives you Carol's information. This is an example of an iterative process. In contrast, suppose you called Joe and Joe said “I don't know, but I think I know how to find out “. He called John and then Debbie and called you back with the phone number. That would be like recursive resolution. So in essence, iteration is doing the job yourself, while recursion is “passing the buck”. You might think that everyone would always want to use recursion since it makes “the other guy” do the work. This is true, but “passing the buck” is not considered good form if it is not done with permission. Not all name servers support recursion, especially servers near the top of the hierarchy. Obviously, we don't want to bog down the root name servers and the ones that handle “.COM” and other critical TLDs with doing recursion. It is for this reason that clients must request that name servers perform recursion for them." From link above.