[erlang-questions] Number of dns resolvers

Konstantin Sorokin <>
Tue Mar 2 23:41:55 CET 2010


On Wed, Mar 3, 2010 at 1:30 AM, Yuri Ginsburg <> wrote:
> That's the line:
> {resolv_conf, "/etc/resolv.conf"}
> that causes syntax error on R12... but is OK in R13..

No. At least it is not true for Erlang R13B0, which is shipped with fedora 12

[ ~]$ cat /home/kvs/.erl_inetrc
%{file, resolv, "/etc/resolv.conf"}.
{resolv_conf, "/etc/resolv.conf"}.
{file, hosts, "/etc/hosts"}.
{cache_size, 0}.
{lookup, [dns]}.
[ ~]$ erl -kernel inetrc "'/home/kvs/.erl_inetrc'"
{error_logger,{{2010,3,3},{1,39,57}},"inet_config: syntax error in
~s~n",['/home/kvs/.erl_inetrc']}
Erlang R13B01 (erts-5.7.2) [source] [rq:1] [async-threads:0] [hipe]
[kernel-poll:false]


=ERROR REPORT==== 3-Mar-2010::01:39:57 ===
inet_config: syntax error in /home/kvs/.erl_inetrc
Eshell V5.7.2  (abort with ^G)
1>
[ ~]$ rpm -qa | grep erlang
erlang-R13B-01.3.fc12.i686

-- 
Konstantin Sorokin


More information about the erlang-questions mailing list