Path: utzoo!attcan!uunet!yale!husc6!rice!sun-spots-request From: bucasb!mike@husc6.harvard.edu (Michael Cohen) Newsgroups: comp.sys.sun Subject: gethostbyname and nameserver resolution (complaint)-- Yellow Pages Message-ID: <601055355.20980@bucasb.bu.edu> Date: 23 Jan 89 21:27:34 GMT Sender: usenet@rice.edu Organization: Boston University Center for Adaptive Systems Lines: 10 Approved: Sun-Spots@rice.edu Original-Date: 17 Jan 89 15:49:15 GMT X-Sun-Spots-Digest: Volume 7, Issue 116, message 1 of 13 Routines like ftp rlogin telnet ... do not normally have access to nameserver resolution because neither yellow pages routines, nor gethostbyname calls the resolver routines. Sun has provided a standard library of routines in /usr/lib/libresolv.a which do query the resolver, and not the yellow pages. The standard library of calls query the yellow pages and not the resolver. As a result, local yellow page masters have to keep a hugh host table around if they want broad access. Good access to remote hosts only seems possible via nslookup. Sun should properly integrate name server queries, especially for routines like gethostbyname with resolver routines so that they know how to use domain/nameservers.