Subject: Re: DNS question
To: None <current-users@NetBSD.ORG>
From: Baw <baw@wuccrc.wustl.edu>
List: current-users
Date: 02/06/1998 12:50:39
On Thu, 5 Feb 1998, Computo Ergo Checksum wrote:

> My resolv.conf file looks like this:
> ----begin resolv.conf
> lookup file bind
> domain starwolf.com
> nameserver 127.0.0.1
> nameserver 209.66.121.17
> nameserver 198.41.0.4
> ----end resolv.conf
> 
> Yet every time I do:
> 
> % telnet 127.0.0.1
> or
> % telnet localhost
> or
> % telnet starwolf.starwolf.com
> or
> % telnet starwolf
> 
> [all of which should resolve locally!], I hear my modem dial out and try
> to connect with my ISP.

	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.

	Good luck.

Baw