[PATCH 01/24] resolv: Deprecate legacy interfaces in libresolv

Florian Weimer fweimer@redhat.com
Thu Jul 15 09:32:45 GMT 2021


* Andreas Schwab:

> On Jul 15 2021, Florian Weimer via Libc-alpha wrote:
>
>> Debugging interfaces: p_*, fp_*, and sym_* could conceivably be
>> used to produce debug out, but these functions have not been
>> updated to parse more resource records, so they are not very useful
>> today.  Likewise for ns_sprintrr and ns_sprintrrf.  ns_format_ttl and
>> ns_parse_ttl are related to these.
>>
>> Internal implementation details: res_isourserver is probably only
>> useful in the implementation of a stub resolver, and so is
>> res_nameinquery.
>>
>> Unclear semantics and bad performance: ns_samedomain, ns_subdomain,
>> ns_makecanon, ns_samename do textual converions & copies instead of
>> checking equivalence of the wire format.
>>
>> inet_ntoa cannot handle IPv6 addresses.
>
> ITYM inet_neta.

Indeed, fixed.

Thanks,
Florian



More information about the Libc-alpha mailing list