[dns-operations] resolvers considered harmful

Stephane Bortzmeyer bortzmeyer at nic.fr
Sat Oct 25 16:19:56 UTC 2014


On Thu, Oct 23, 2014 at 03:29:02PM -0400,
 Mark Allman <mallman at icir.org> wrote 
 a message of 64 lines which said:

> Same interface to the applications.  But, underneath it doesn't go
> query whatever is in /etc/resolv.conf, but rather just walks the
> tree itself (to the extent needed, based on the cache).

It is the very definition of a resolver. As I've said, I believe
you're just playing with words.

> Think of it as a change under-the-hood to gethostbyname(). 

gethostbyname() is deprecated for a long time, partly because it works
only for IPv4. Use getaddrinfo() instead.







More information about the dns-operations mailing list