netbsd dns patch

Daniel Néri dne@REDACTED
Mon Nov 26 03:08:03 CET 2001

Hal Snyder <hal@REDACTED> writes:

> Have seen the same problem in the past with OpenBSD, but don't know
> if the problem is still there.

Yep, it has been mentioned before[*], and I do believe it's still

Anyway, although your patch fixes things in your particular case, you
would still have the same problem if your nsswitch.conf had no "hosts"
line, or the if the file was missing altogether.

So I propose the following fix, which of course doesn't invalidate
yours (N.B. untested):

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lookup.patch
Type: text/x-patch
Size: 1157 bytes
Desc: lookup patch
URL: <>
-------------- next part --------------

This, IMO, improves things somewhat, but it's still behaving slightly
differently to most platforms' resolvers (i.e. the BIND resolver



Daniel Neri

More information about the erlang-questions mailing list