novice question

Daniel Neri dne@REDACTED
Sat Sep 9 04:51:51 CEST 2000

Steve Elkins <sgelkins@REDACTED> writes:

> Poked around in the source starting with net_adm:names/0 and
> made a lucky guess.  Added...
>   lookup file bind
> resolv.conf and {error,nxdomain} went away.

Yes, I was just about to report this problem; inet:gethostbyname/1
always fails with {error, nxdomain} if /etc/resolv.conf has no
"lookup" option (instead of assuming some reasonable default lookup

Best wishes,

Daniel Neri

More information about the erlang-questions mailing list