MiniDNS / minidns

DNS library for Android and Java SE
Other
215 stars 61 forks source link

MiniDNS does not support zone_id in the Inet6Address format as per IPv6 Scoped Address Architecture #129

Open cmeng-git opened 1 year ago

cmeng-git commented 1 year ago

Per [11](https://datatracker.ietf.org/doc/html/rfc4007.html#section-11). Textual Representation

The ipv6 address text string format can be i.e. \

%\ i.e. contain a \

However InetAddressUtil#ipv6From(CharSequence cs) does not cater for this, hence leading to UnknownHostException when execute the statement i.e.

InetAddress.getByName(cs.toString())