Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: stine@sparta.com (Robert Havens Stine) Newsgroups: comp.sys.sun Subject: Re: SunOS versions of BIND and YP Keywords: Networks Message-ID: <5632@brazos.Rice.edu> Date: 9 Mar 90 14:03:32 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 35 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n68 X-Sun-Spots-Digest: Volume 9, Issue 78, message 1 > I am interested in using the BIND nameserver for hostname resolution, and > using YP for everything else. Has anyone else done this? Is it possible? > Better yet has anyone gotten named and YP to play nice together? If so > then how. Is there an alternative set of software that will provide the > same functionality. DNS for name resolution, YP for everything else made sense to us, but we found it surprisingly difficult to implement. At our site, we initially tried this by installing the libc library available from uunet. Doing this broke pcnfs and also our sendmail.cf files. After some floundering in trying to fix the sendmail.cf files, we removed the new library, and tried a different approach: we compiled a selected set of internet programs (sendmail, telnet, ftp, finger, and ping) using the "resolv" library. (Source for these programs is also available from uunet. The file herror.c is required by ping, telnet, and ftp; it's in directory bsd-sources/src/lib/libc/net.) BTW, make sure that a resolv.conf file is in each workstation's /etc directory. Also, at least for your mail daemons, you should run sendmail.mx, in order to correctly use the DNS MX (mail exchanger) records. Interestingly, using "trace" to track the system calls of the network programs that have been linked with the "resolv" lib shows that BOTH the DNS resolver (in our case, named) and the YP system may be accessed. - Bob Stine SPARTA, Inc. stine@sparta.com