Date: Mon, 25 Aug 1997 09:17:29 +0930 From: Mike Smith <mike@smith.net.au> To: Brian Somers <brian@awfulhak.org> Cc: Mike Smith <mike@smith.net.au>, freebsd-hackers@FreeBSD.ORG Subject: Re: Broken resolver/named Message-ID: <199708242347.JAA00507@word.smith.net.au> In-Reply-To: Your message of "Sun, 24 Aug 1997 12:54:02 %2B0100." <199708241154.MAA00755@awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> >From resolver(3): > > RES_DEFNAMES If set, res_search() will append the default domain name to > single-component names (those that do not contain a dot). > This option is enabled by default. > > RES_DNSRCH If this option is set, res_search() will search for host > names in the current domain and in parent domains; see > hostname(7). This is used by the standard host lookup rou- > tine gethostbyname(3). This option is enabled by default. I must admit to some surprise here; I had thought that this behaviour was deprecated. > This is not the problem. My problem is that a WindowsNT box is > trying to resolve some dumb name, and sits there with its finger up > its a*s while the DNS times out. Good old Microslop^H^H^Hoft. Find the name it's looking for, and insert a dummy record in your local cache. > > If you never want to consult an outside nameserver, disable your > > forwarders; this is pretty dumb though. > > I do want to talk to real DNSs, but not for mis-typed names. This is the crux of the issue; how do you tell what is a mis-typed name without looking it up? mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708242347.JAA00507>