[erlang-questions] Broken ipv6 behavior?

Tony Rogvall tony@REDACTED
Wed Apr 9 01:22:50 CEST 2008


Make sure the {inet6, Bool} in the inetrc is set to true?

See ERTS User's Guide / Inet configuration.

/Tony

On 8 apr 2008, at 21.16, Matthew Dempsky wrote:

> It seems like erlang's IPv6 support is broken on my laptop (OS X
> 10.5.1).  I have a publicly routable IPv6 address and can access
> ipv6.google.com fine, but inet:getaddr cannot resolve the IPv6 address
> even when asked for inet6.
>
> When I look at our DNS cache logs or tcpdump output, I only see A type
> queries not AAAA type queries for ipv6.google.com from my laptop.
>
>
> matthew@REDACTED:~$ ping6 -c 3 ipv6.google.com
> PING6(56=40+8+8 bytes) 2001:470:805a:1:21b:63ff:feca:36df -->
> 2001:4860:0:1001::68
> 16 bytes from 2001:4860:0:1001::68, icmp_seq=0 hlim=56 time=178.045 ms
> 16 bytes from 2001:4860:0:1001::68, icmp_seq=1 hlim=56 time=186.902 ms
> 16 bytes from 2001:4860:0:1001::68, icmp_seq=2 hlim=56 time=181.385 ms
>
> --- ipv6.l.google.com ping6 statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max = 178.045/182.111/186.902 ms
>
> matthew@REDACTED:~$ erl
> 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}
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list