Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 1995 17:07:44 -0700 (PDT)
From:      bmk@dtr.com
To:        rjbproc@Vir.com (Robert Burns)
Cc:        questions@freebsd.org
Subject:   Re: iijppp auto & pine (fwd)
Message-ID:  <199508050007.RAA09355@everest>
In-Reply-To: <Pine.BSF.3.91.950804194240.321A-100000@zeta> from "Robert Burns" at Aug 4, 95 07:43:37 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> On Fri, 4 Aug 1995, Mike O'Brien wrote:

> > 	I have found that any reference to "localhost" causes a DNS lookup,
> > if "resolv.conf" is in place.  Maybe this is what you're seeing.
> > 
> > 

> Mike,

> Thanks for your response. 

> When I remove resolv.conf the problem goes away but causes DNS lookup 
> failures if I try to ftp to a remote site for instance. Any Ideas on how
> to get around this?  My resolv.conf file is set up as follows:

> domain	vir.com				<---- my ISP
> nameserver 199.84.154.65		<---- another DNS address
> nameserver 199.202.197.65		<---- his address

Check to see if your /etc/host.conf lists 'bind' before 'hosts'.  If it
does, switch them.  Make sure localhost is listed in your /etc/hosts
file.

Of course, you'll want to put resolv.conf back the way it was. :)

Another workable solution might be to run a caching nameserver on your
machine.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508050007.RAA09355>