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
>
> ...to 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
order).
Best wishes,
--Daniel
--
Daniel Neri
dne@REDACTED
More information about the erlang-questions
mailing list