[erlang-questions] Broken ipv6 behavior?

Matthew Dempsky <>
Wed Apr 9 01:42:47 CEST 2008


On Tue, Apr 8, 2008 at 4:22 PM, Tony Rogvall <> wrote:
> Make sure the {inet6, Bool} in the inetrc is set to true?
>
>  See ERTS User's Guide / Inet configuration.

Makes no difference.  DNS cache still only shows an A query.

:/tmp$ echo '{inet6, true}.' > inetrc
:/tmp$ erl -kernel inetrc '"/tmp/inetrc"'
Erlang (BEAM) emulator version 5.6.1 [source] [smp:2]
[async-threads:0] [kernel-poll:false]

Eshell V5.6.1  (abort with ^G)
1> inet:getaddr("ipv6.google.com", inet6).
{error,nxdomain}



More information about the erlang-questions mailing list