[erlang-questions] Broken ipv6 behavior?

Matthew Dempsky <>
Tue Apr 8 21:16:44 CEST 2008

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.

:~$ ping6 -c 3 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:470:805a:1:21b:63ff:feca:36df -->
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

:~$ 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).

More information about the erlang-questions mailing list