[erlang-questions] : Broken ipv6 behavior?

Matthew Dempsky matthew@REDACTED
Wed Apr 9 12:41:40 CEST 2008


On Wed, Apr 9, 2008 at 3:26 AM, Rory Byrne <rory@REDACTED> wrote:
> On Wed, Apr 09, 2008 at 11:04:11AM +0200, Raimo Niskanen wrote:
>  >
>  > These functions seem to work on a MacOS X Leopard box
>  > in our lab, there I get:
>  > inet_gethost_native:gethostbyname("ipv6.google.com", inet6).
>  > inet_gethost[63317] (DEBUG):Saved domainname .google.com.
>  > inet_gethost[63317] (DEBUG):Created worker[63418] with fd 3
>  > inet_gethost[63317] (DEBUG):Saved domainname .google.com.
>  > inet_gethost[63418] (DEBUG):Worker got request, op = 1, proto = 2, data = ipv6.google.com.
>  > {error,notfound}
>  >
>  > Not strange since we do not have working IPv6 here at work.
>  >
>
>  Is this only {error,notfound} when you use an {inet6, true}
>  configuration? There should be no problem looking up AAAA
>  DNS records over IPv4:

Testing at home with OS X (IPv6 link-local access only), I get
{error,notfound} with or without {inet6, true}.

ipv6.google.com's AAAA records still resolve fine with dig/host/etc.



More information about the erlang-questions mailing list