[getdns-api] Remove IDNA functions from getdns?

Andrew Sullivan asullivan at dyn.com
Thu Sep 3 16:32:41 CEST 2015


On Thu, Sep 03, 2015 at 03:21:43PM +0200, Willem Toorop wrote:
> 
> Currently the API defines two functions for IDNA 2008:
> getdns_convert_ulabel_to_alabel() and getdns_convert_alabel_to_ulabel()
> 
> In our implementation, those are (more or less) direct mappings to the
> underlying idna_to_ascii_8z() and idna_to_unicode_8z8z() functions from
> the GNU IDN library.  Applications that need to do IDNA conversions,
> might just as well use those functions from libidn directly instead of
> using the getdns facades.  Because of those two functions our library
> has a dependency on libidn, but does not add any extra value on top of
> that library.

The purpose of getdns, though, was to give applications a one-stop
shop to do all these DNSy things, and IDNA is part of that.  After
all, in some sense every other thing in getdns can be achieved by
lower-level functions as well.

Best regards,

A

-- 
Andrew Sullivan
Dyn
asullivan at dyn.com


More information about the spec mailing list