Subject: ares_set_servers_csv and compressed IPv6 string

ares_set_servers_csv and compressed IPv6 string

From: Timothy J Fontaine <tjfontaine_at_gmail.com>
Date: Wed, 8 May 2013 15:27:12 -0700

When passing in a compressed IPv6 string like "2001:4860:4860::8888" to
ares_set_servers_csv everything to the right of the first ":" in "::" is
stripped and interpreted as part of the port for the entry.

Is the intended behavior to require an IPv6 address in uncompressed
notation, or is this merely a bug?

On a tangent, is there any interest in actually supporting specifying the
port to be used? Conceptually I like the idea, but in practice I can't
imagine many people using it.
Received on 2013-05-09