Subject: Re: DNS question
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 02/06/1998 18:53:38
>> My resolv.conf file looks like this:

>> lookup file bind
[...]

>> Yet [even locally resolvable names provoke dial-on-demand calls]

> 	Try change the first line in your resolv.conf file to

> 	file lookup bind

> 	so your system will first check the /etc/hosts file, then
> 	failing that try to do a DNS lookup, then failing that use
> 	BIND.

Uh, ex*cu*se me?  Just what do you think BIND *is*?

Did you actually read the documentation for the format of resolv.conf?
The manpage describes a "lookup" line; it does not describe a "file"
line.  Checking the source (lib/libc/net/res_init.c) reveals that a
line reading "file lookup bind" will be ignored.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B