gethostbyaddr without /etc/{resolv,nsswitch}.conf

Roland McGrath roland@hack.frob.com
Tue Jan 21 18:43:00 GMT 2014


The traditional default when /etc/resolv.conf does not exist is for DNS
lookups to use 127.0.0.1 as nameserver.  If there is no nameserver
listening locally, then it moves on to /etc/hosts.



More information about the Libc-alpha mailing list