Subject: Re: should getnet*(3) use the DNS?
To: Guenther Grau <>
From: matthew green <>
List: tech-userlevel
Date: 08/26/1997 22:50:11
   Hi Matthew,
   matthew green wrote:
   > jason thorpe fixed this somewhat about a month ago (with me
   > looking over his shoulder :-) and extended the getnet*(3)
   > functions to use the resolv.conf "lookup file bind" stuff,
   > but there are still cases where this will wait for the
   > timeout.
   Hmm, can you elaborate on this point a little more?
   In what cases will route still hang? I guess in the
   cases where the needed information is not found in the
   neccessary file (/etc/hosts?). IMHO, this is a perfectly
   valid behaviour. Same things happens if you invoke 
   nslookup and you dns-server is not answering.

the problem isn't at all todo with /etc/hosts.  it hangs
because route(8) does a getnetbyname() call (where it
hangs), and then a gethostbyname() call.

i don't see the hang myself, but, i have seen several
reports of it, and veego has been hassling me about it
as well..