Richard Fuchs writes:
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.
sure, when ipv6 address appears in URI, the brackets are needed to surround it, but give me a reference where dns request can contain such a bracketed name.
-- juha