netbsd (and openbsd?) dns patch

Sean Hinde Sean.Hinde@REDACTED
Thu Nov 29 17:05:47 CET 2001


Hi,

> Hal Snyder <hal@REDACTED> writes:
> 
> > NetBSD docs state that the resolver defaults to "hosts files dns" in
> > absence of an nsswitch.conf file or hosts entry in that file.
> 
> Yeah; on OpenBSD the default is "lookup file" if /etc/resolv.conf does
> not exist, and "lookup bind file" if the it exists, but contains no
> "lookup" line.

There is another option which is descibed in the README notes for Apple OS X
compatibility (not too far from FreeBSD)

You can put an .inetrc file in your home directory to override the
mechansism by which Erlang selects the source. This could contain e.g:

{lookup, ["native"]}.

Rgds,
Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list