[2022] the tragedy of gethostbyname
Summary
The article argues that libc DNS APIs like gethostbyname/getaddrinfo are unreliable for production DNS work, recommends dedicated DNS resolver libraries, and offers historical context on how DNS resolution evolved in Unix-like systems, including musl and NSS.