[19688] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: name resolution on dialups

daemon@ATHENA.MIT.EDU (John Carr)
Thu Aug 23 11:13:09 2001

Message-Id: <200108231513.LAA17262@no-knife.mit.edu>
To: Greg Hudson <ghudson@MIT.EDU>
cc: bugs@MIT.EDU, bug-dialup@MIT.EDU
In-Reply-To: Your message of "Sat, 18 Aug 2001 14:30:10 EDT."
             <200108181830.OAA19635@egyptian-gods.MIT.EDU> 
Date: Thu, 23 Aug 2001 11:13:08 -0400
From: John Carr <jfc@MIT.EDU>


I previously said that adding a . to the end of the name was a
workaround.  That turns out not to be true.  I got the same failure
with a dot-suffixed name: "Unknown host" the first time, and success
a few seconds later.  This was on no-knife, where resolv.conf
contains no ndots directive.

> 	* When you ask a resolver library for "foo.bar", it will first
> 	  try "foo.bar." and then "foo.bar.mit.edu.", assuming that
> 	  ndots is not set in resolv.conf to 1 or less (where 1 is the
> 	  number of dots in foo.bar).

    --John Carr (jfc@mit.edu)

home help back first fref pref prev next nref lref last post