Article View: comp.sys.sun
Article #12050Possible to run in.named and run YP?
From: Warren Lavallee
Date: Wed, 19 Apr 1989 02:22
Date: Wed, 19 Apr 1989 02:22
24 lines
1843 bytes
1843 bytes
Does anyone know if it is possible to run the nameserver under YP? When
yp is running, all the gethost* calls go through YP, even though the
nameserver is running. We have a Sun 3/260 running Sun OS 4.0.1. Anybody
have any ideas on how to tell the system to ask the namesever intead of
YP?
- Warren Lavallee
--
INTERNET: lavallee@samsung.com
UUCP: {decvax!{gsg,cg-atla},uunet,ulowell}!ginosko!lavallee
US MAIL: Samsung Software America. One Corporate Dr. Andover, Ma. 01810
[[ Get the Bind distribution tape from Sun. It contains a "fixed" version
of ypserv called "ypserv.share". Replace ypserv on all your YP masters
and slaves with this copy. Then change /var/yp/Makefile so that the
"makedbm" line for the two host databases ("hosts.byaddr" and
"hosts.byname") include the "-b" option (as in "$(MAKEDBM) -b"). Then
touch /etc/hosts and remake. The "-b" option flags the database in such a
way that ypserv knows to use the name resolver if there is no match in the
database. BUT: you MUST use the fixed version of ypserv. The one
distributed with 4.0.1 had a serious bug in it that made your yp servers
useless after a time. I have gond this route (using the fixed ypserv) and
it works *great*. Sun has finally incorporated the network name resolver
into the system! --wnl ]]
Technical Details
Message-ID:
<997@ginosko.samsung.com>Path:
arc1-ca.pugleaf.net!utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request From: ginosko!lavallee@uunet.uu.net (Warren Lavallee) Newsgroups: comp.sys.sun Subject: Possible to run in.named and run YP? Keywords: Networks Message-ID: <997@ginosko.samsung.com> Date: 19 Apr 89 02:22:14 GMT Sender: usenet@rice.edu Organization: Samsung Software America, Inc. Lines: 24 Approved: Sun-Spots@rice.edu Original-Date: 30 Mar 89 13:12:51 GMT X-Sun-Spots-Digest: Volume 7, Issue 231, message 9 of 9