gethostbyname/1 on Freebsd

Olivier olivier@REDACTED
Thu Oct 16 14:13:47 CEST 2003

	hi all,

	i'm having problems with gethostbyname/1 on FreeBSD:

1> inet:gethostbyname("localhost").
2> inet:gethostbyname("naboo").
3> inet:gethostbyname("haruki").

	/etc/resolv.conf is ok:
search dolphian.priv

$ host haruki
haruki.dolphian.priv has address

	same configuration on a linux box works as expected:

1> inet:gethostbyname("penelope").

	any idea ? erlang is:

Erlang (BEAM) emulator version 5.3 (installed from the ports)

	thanks in advance,


More information about the erlang-questions mailing list