* NIS server on OSF 3.0; how to generate DNS queries?
@ 1995-05-29 4:00 Brad &
1995-05-29 4:00 ` Gyula Szokoly
1995-05-29 4:00 ` Mike Iglesias
0 siblings, 2 replies; 4+ messages in thread
From: Brad & @ 1995-05-29 4:00 UTC (permalink / raw)
Our network environment in my research group includes several DEC
Alpha workstations and several Sun workstations. We formerly used a
Sun NIS server for our whole subnet, and we configured the NIS
database Makefile on the NIS server to pass the -b flag to makedbm so
that the server would generate DNS requests for names not resolvable
in the NIS hosts maps.
We now need to use an OSF/1 3.0 Alpha machine as a slave NIS server
for a subnet.
The /etc/svc.conf file in OSF/1 3.0 appears to allow _client_ machines
to search via DNS if NIS fails to return a match for a hostname, but
it is my understanding that ypserv does _not_ pay attention to
/etc/svc.conf, but only looks in the NIS maps and returns a match
failure when no match is found.
Because our Sun machines aren't easily configurable to generate DNS
requests themselves when NIS lookups fail (the shared libraries need
to all be changed to use DNS _instead_ of NIS, which isn't what we
want the Sun clients to do), we really need our OSF/1 3.0 ypserv
process to mimic the Sun behavior of generating DNS requests on behalf
of its NIS clients when necessary.
makedbm in OSF/1 3.0 does not appear to take the -b flag to mark a map
as allowing DNS request generation the way SunOS makedbm
does. Furthermore, when we ypxfr the hosts maps from the master Sun
machine, the Alpha either strips the -b flag in the dbm files or
leaves it in, but ypserv ignores it.
It seems like there _must_ be a way to force an OSF/1 ypserv process
to generate DNS requests when NIS hosts map lookups fail.
Does anyone know how to do this?
--
Brad Karp | "[Compiled FORTRAN gives] as good | home (617) 661-4979
CS Grad Student, n=3 | programs as human coders, but | ofc. (617) 496-4513
karp@das.harvard.edu | without the errors." -Backus, 1957 \____________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NIS server on OSF 3.0; how to generate DNS queries?
1995-05-29 4:00 NIS server on OSF 3.0; how to generate DNS queries? Brad &
1995-05-29 4:00 ` Gyula Szokoly
@ 1995-05-29 4:00 ` Mike Iglesias
1 sibling, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1995-05-29 4:00 UTC (permalink / raw)
In article <KARP.95May29020322@cabernet.harvard.edu>,
Brad & <karp@cabernet.harvard.edu> wrote:
>It seems like there _must_ be a way to force an OSF/1 ypserv process
>to generate DNS requests when NIS hosts map lookups fail.
There isn't a way to do what you want. Personally, I don't care
for Sun's way of doing things; I like the /etc/svc.conf way of
configuring a client to do lookups.
We setup all Suns with the modified libc so they do DNS by default. We've
been doing it that way for years.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
Central Computing Support
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NIS server on OSF 3.0; how to generate DNS queries?
1995-05-29 4:00 NIS server on OSF 3.0; how to generate DNS queries? Brad &
@ 1995-05-29 4:00 ` Gyula Szokoly
1995-05-29 4:00 ` Mike Iglesias
1995-05-29 4:00 ` Mike Iglesias
1 sibling, 1 reply; 4+ messages in thread
From: Gyula Szokoly @ 1995-05-29 4:00 UTC (permalink / raw)
In article <KARP.95May29020322@cabernet.harvard.edu>,
Brad & <karp@cabernet.harvard.edu> wrote:
>Our network environment in my research group includes several DEC
>Alpha workstations and several Sun workstations. We formerly used a
>Sun NIS server for our whole subnet, and we configured the NIS
>database Makefile on the NIS server to pass the -b flag to makedbm so
>that the server would generate DNS requests for names not resolvable
>in the NIS hosts maps.
I have encountered the same problem recently. The solution: there is
a resolv+ floating around the net. It took me less than an hour to install
it, but I don't remember the details (it was easy). It will elliminate
this brain dead setup of the Sun (not using DNS if YP is running).
Gyula
--
Gyula P. Szokoly (szgyula@skysrv.pha.jhu.edu) -------------------------------\
| When I am weaker than you, I ask you for freedom because that is according|
|to your principles; when I am stronger than you, I take away your freedom|
|because that is according to my principles. -- Frank Herbert|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NIS server on OSF 3.0; how to generate DNS queries?
1995-05-29 4:00 ` Gyula Szokoly
@ 1995-05-29 4:00 ` Mike Iglesias
0 siblings, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1995-05-29 4:00 UTC (permalink / raw)
In article <3qcn80$pu3@jhunix1.hcf.jhu.edu>,
Gyula Szokoly <szgyula@hoplite.pha.jhu.edu> wrote:
> I have encountered the same problem recently. The solution: there is
>a resolv+ floating around the net. It took me less than an hour to install
>it, but I don't remember the details (it was easy). It will elliminate
>this brain dead setup of the Sun (not using DNS if YP is running).
A few words of warning:
resolv+ uses an older copy of bind as it's base, and will have any and
all bugs associated with that release of bind. As far as I know, it
has never been ported to a more recent release of bind (4.9.3BETA17
is the current release - see http://www.isc.org/).
Installing resolv+ is no different than updating the shared C library to
do DNS only, so take your pick as to which way you want to go. resolv+
gives you some of the capability of /etc/svc.conf in that you can specify
how to do hostname lookups.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
Central Computing Support
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-05-29 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-29 4:00 NIS server on OSF 3.0; how to generate DNS queries? Brad &
1995-05-29 4:00 ` Gyula Szokoly
1995-05-29 4:00 ` Mike Iglesias
1995-05-29 4:00 ` Mike Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox