On 10/24/12 14:41, Juha Heinanen wrote:
Richard Fuchs writes:
this is not the real fix, but helps until someone figures out why dns query on something that is not a name but wrongly formatted ipv6 address is done in the first place.
What do you mean with "wrongly formatted"?
the ipv6 address that is passed to dns server is surrounded by brackets [address], which i think is not a valid formatted dns name. even if you leave the brackets out, the ipv6 address does not look like a domain name to me.
IPv6 addresses are supposed to be bracketed when used within an URI. Otherwise a parser wouldn't be able to tell if an optional port was given or not. Compare http://2620:0:2d0:200::8/ vs http://%5B2620:0:2d0:200::8%5D/ vs http://2620:0:2d0:200::8:80/ vs http://%5B2620:0:2d0:200::8%5D:80/. See RFC 2732.
cheers