Tony Finch wrote:
... 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.
agreed.
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.
dns requests should almost universally go out via the open source "getdns" API (https://getdnsapi.net/) at this point. if your code uses one of the above methods, or getXbyY() in any form, please investigate.
-- P Vixie _______________________________________________ DNSOP mailing list DNSOP@ietf.org https://www.ietf.org/mailman/listinfo/dnsop