[erlang-questions] using inet_gethost_native even if disabled

Benoit Chesneau <>
Wed Apr 3 14:47:35 CEST 2013


On Wed, Apr 3, 2013 at 11:57 AM, Danil Zagoskin <> wrote:
> Hello.
>
> Try to start your VM with custom inetrc. Just set ERL_INETRC environment
> variable to inet config file path.
> In config file write:
>    {lookup, [file, dns]}.
>
> This will tell erlang's resolver to use it's own DNS client, not system one.
> More info at http://www.erlang.org/doc/apps/erts/inet_cfg.html
>

mmm thanks, I will try to set the env I was using the option `-kernel
inetrc /path/to/erl_inetrc` for now but it doesn't seem to work .

- benoît



More information about the erlang-questions mailing list