Vladimír Čunát <vladimir.cunat+i...@nic.cz> wrote:
> On 11/7/18 4:00 PM, Matthew Pounsett wrote:
> > Can you point to a major browser that does *not* implement its own
> > resolver already?
>
> I believe Firefox on Linux uses libc call (in my basically default
> setup).

There's a problem on Unix that there isn't a way to get the recursive
server IP addresses from the libc resolver. In the IPv4 era it was often
possible to dig around in the _res struct in a moderately portable way, if
the libc resolver was derived from BIND, but that was thoroughly broken by
the divergence in IPv6 support.

And even if you can get the recursive server addresses, you should still
go through the name service switch to deal with names that aren't in the
DNS.

The custom DNS stub resolvers that I know about (adns, ldns, libevent)
reimplement the libc resolver, with their own parsers for /etc/resolv.conf
and all the rest.

Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/
Shannon: South or southwest 5 to 7, increasing gale 8 at times. Very rough,
becoming high. Rain or thundery showers. Moderate or poor.
_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to