telnet/ftp, which use the new getaddrinfo() call, do not appear to honor host entries listed in NIS, perferring the DNS entry, even if "nis" precedes "bind" in /etc/host.conf. How-To-Repeat: Create /etc/host.conf: hosts nis bind Create and bind to a yp domain which contains a host entry different from DNS: ypcat hosts | grep prism 24.17.241.9 prism observe ping(1) works properly: ping prism PING prism (24.17.241.9): 56 data bytes observe telnet return the wrong host: telnet prism Trying 171.69.180.7...
State Changed From-To: open->closed Patch applied to libc/net/name6.c to allow IPV4 hosts to use NIS maps.