[SR-Users] dns queries on ipv6 addresses

Richard Fuchs rfuchs at sipwise.com
Wed Oct 24 20:46:20 CEST 2012


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://[2620:0:2d0:200::8]/ vs http://2620:0:2d0:200::8:80/ vs
http://[2620:0:2d0:200::8]:80/. See RFC 2732.

cheers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121024/0099d607/attachment.pgp>


More information about the sr-users mailing list