Return to BSD News archive
#! rnews 1831 sserve.cc.adfa.oz.au Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!news.sprintlink.net!helena.MT.net!nate From: nate@trout.sri.MT.net (Nate Williams) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: BIND, DNS and route broken ?? Date: 3 Aug 1995 05:53:30 GMT Organization: SRI Intl. - Montana Operations Lines: 36 Message-ID: <3vpo8q$mel@helena.MT.net> References: <3vmk8a$pgr@nntpd.lkg.dec.com> Reply-To: "Nate Williams" <nate@sneezy.sri.com> NNTP-Posting-Host: trout.sri.mt.net In article <3vmk8a$pgr@nntpd.lkg.dec.com>, Jon Jenkins <jenkinsj@ozy.dec.com> wrote: >changed the host.conf file to use the hosts file >first. No go! the resolver ALWAYS uses bind first >no matter what order they are in the host.conf >file. I could be wrong but I thought that the >order in the host.conf file determined the search >order. Well it don't. Well, it *does* for me. If it didn't my computer would give me all sorts of errors on bootup, since it has an /etc/resolv.conf file which means it will use DNS if available. But, I modified /etc/host.conf to use the hosts file. Are you running named by chance? [ Other problem deleted ] I think the solution to both of your problems it to make sure you are resolving via the host table. Are you *sure* that you have an entry for localhost in /etc/hosts. ie; 127.0.0.1 localhost localhost.do.main.net And, the file /etc/hosts looks similar to this: # Default is to try the /etc/hosts file hosts # Else, use the nameserver bind Nate -- nate@sneezy.sri.com | Research Engineer, SRI Intl. - Montana Operations nate@trout.sri.MT.net | Loving life in God's country, the great state of work #: (406) 449-7662 | Montana. Wanna go fishing? Send me email, and we'll home #: (406) 443-7063 | setup something.