Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 08:39:55 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        Alex Zbyslaw <xfb52@dial.pipex.com>
Cc:        questions@freebsd.org, "Gary W. Swearingen" <garys@opusnet.com>
Subject:   Re: cache-only named won't resolve "localhost"
Message-ID:  <4s1x4svagk.x4s@mail.opusnet.com>
In-Reply-To: <43034617.80404@dial.pipex.com> (Alex Zbyslaw's message of "Wed, 17 Aug 2005 15:13:43 %2B0100")
References:  <4w1x4wyqkl.x4w@mail.opusnet.com> <43000B38.8040002@daleco.biz> <mnwtmnxlrz.tmn@mail.opusnet.com> <43014635.4060301@mac.com> <y5iry5ws4r.ry5@mail.opusnet.com> <43034617.80404@dial.pipex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alex Zbyslaw <xfb52@dial.pipex.com> writes:

> Gary W. Swearingen wrote:
>
>>Mozilla apparently doesn't even use my local DNS as it still hangs.
>>(I must admit that I've never checked my caching DNS's cache.)
>>
>>
> Mozilla will use resolve.conf, if it is there.  It will also cache answers for a long time and requires restarting if
> you, say, add a host to /etc/hosts.
>
> I missed the beginiing of the thread, but why would you want to run without /etc/resolv.conf?

That was just a side-issue I threw in after I read a comment about
using resolv.conf's "domain" and/or "search".  Its manpage says:

      On a normally configured system this file should not be
      necessary.

so I just tried doing without it; host, dig, and nslookup don't
need it (even when not told which DNS server to use), but my mail
hung up, so either Gnus or, more likely, sendmail needs resolv.conf.

The orignial and still-remaining problem was that Mozilla hangs when
given "localhost/index.html" or "localhost.localhost/index.html".
Then I noticed "host" didn't work and that bothered me.  But I got
that fixed and I don't much care about the original Mozilla problem.
It appears the Mozilla doesn't use my resolver library, /etc/hosts,
or my localhost cache-only DNS server.  I did try restarting Mozilla
after reading your comment.

Don't worry about it.  Thanks.



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