Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* YP/DNS problem with Suns&DECstations
@ 1993-01-19  1:23 callahan
  1993-01-22  5:03 ` Peter Ziobrzynski
  0 siblings, 1 reply; 6+ messages in thread
From: callahan @ 1993-01-19  1:23 UTC (permalink / raw)


I have a problem setting up DNS on a network of Suns running SunOS 4.1.1
and DECstations running Ultrix v4.2a.  These share a single YP domain
and there are servers among both the Suns and the DEC machines.

The problem is setting up the Sun clients to use DNS.  As I understand
it (and as I have done before), I should tell ypserv to issue DNS
requests on behalf of its clients by giving the -b option to makedbm
in the YP makefile.

The catch is that when the Sun clients start up, some of them at least
end up getting bound to a DEC machine.  Now, the Ultrix YP software doesn't
know how to do DNS lookups, since in the DEC scheme the clients do
this themselves.  The net result (so to speak!) is that some Sun clients
don't get DNS service.

What can I do?  I would be tempted to use ypset, but am chastened
by the following bit of manual page (from ypbind(8))
     -ypset
          ypset(8) may be  used  to  change  the  binding.   This
          option  is  very dangerous, and only should be used for
          debugging the network from a remote machine.

(Memo to Sun manual writers: it's dumb and annoying to the reader
to be told something is dangerous with no indication of why.)

Thanks in advance for any help, and sorry if this is a FAQ.
Please respond by email.

Michael
---
Michael Callahan
callahan@vax.ox.ac.uk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: YP/DNS problem with Suns&DECstations
  1993-01-19  1:23 YP/DNS problem with Suns&DECstations callahan
@ 1993-01-22  5:03 ` Peter Ziobrzynski
  1993-01-26 20:23   ` Sjaak Schilperoort
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Ziobrzynski @ 1993-01-22  5:03 UTC (permalink / raw)


callahan@vax.oxford.ac.uk writes:

>I have a problem setting up DNS on a network of Suns running SunOS 4.1.1
>and DECstations running Ultrix v4.2a.  These share a single YP domain
>and there are servers among both the Suns and the DEC machines.

>The problem is setting up the Sun clients to use DNS.  As I understand
>it (and as I have done before), I should tell ypserv to issue DNS
>requests on behalf of its clients by giving the -b option to makedbm
>in the YP makefile.

>The catch is that when the Sun clients start up, some of them at least
>end up getting bound to a DEC machine.  Now, the Ultrix YP software doesn't
>know how to do DNS lookups, since in the DEC scheme the clients do
>this themselves.  The net result (so to speak!) is that some Sun clients
>don't get DNS service.

>What can I do? 

I have just finished almost exactly the same setup: 2 of SUN10/SunOS 4.1.3
and 4 of DEC5000/Ultrix4.3.
The solution is to run the YP and DNS master and slave servers on the SUN.
In this way all DEC and SUN ypbind bind to the SUN and SUN get the right
YP->DNS mapping.
The other way is to upgrade your SUN to Solaris 2.x and you will get the
right DNS/YP operation.

(Sun should be sued for damages caused by this YP/DNS fuckup).

-- 
Peter Ziobrzynski, pz@modtor.uucp, peter@sni.ca, Toronto, Ont. Canada


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: YP/DNS problem with Suns&DECstations
  1993-01-22  5:03 ` Peter Ziobrzynski
@ 1993-01-26 20:23   ` Sjaak Schilperoort
  1993-01-26 21:38     ` Tom Murphy
  0 siblings, 1 reply; 6+ messages in thread
From: Sjaak Schilperoort @ 1993-01-26 20:23 UTC (permalink / raw)


pz@modtor.uucp (Peter Ziobrzynski) writes:

>callahan@vax.oxford.ac.uk writes:

>>I have a problem setting up DNS on a network of Suns running SunOS 4.1.1
>>and DECstations running Ultrix v4.2a.  These share a single YP domain
>>and there are servers among both the Suns and the DEC machines.

>>The problem is setting up the Sun clients to use DNS.  As I understand
>>it (and as I have done before), I should tell ypserv to issue DNS
>>requests on behalf of its clients by giving the -b option to makedbm
>>in the YP makefile.

>>The catch is that when the Sun clients start up, some of them at least
>>end up getting bound to a DEC machine.  Now, the Ultrix YP software doesn't
>>know how to do DNS lookups, since in the DEC scheme the clients do
>>this themselves.  The net result (so to speak!) is that some Sun clients
>>don't get DNS service.

>>What can I do? 

>I have just finished almost exactly the same setup: 2 of SUN10/SunOS 4.1.3
>and 4 of DEC5000/Ultrix4.3.
>The solution is to run the YP and DNS master and slave servers on the SUN.
>In this way all DEC and SUN ypbind bind to the SUN and SUN get the right
>YP->DNS mapping.
>The other way is to upgrade your SUN to Solaris 2.x and you will get the
>right DNS/YP operation.

Or get resolv+-2.1 from your nearest ftp-site. It replaces the resolver-
routines in the SunOS shared library. It supports a /etc/host.conf file,
much like the Ultrix /etc/svc.conf file. 

We are running with a DNS- and NIS-master on an Ultrix-server,
DNS-secondary and NIS-slave on the Sun-server and DNS-client and
NIS-client on all Sun/Ultrix workstations.

You can disable DNS-usage by setting an environment variable before
starting a program. We had to do that for mountd and sendmail.

>(Sun should be sued for damages caused by this YP/DNS fuckup).

Yeah.

>-- 
>Peter Ziobrzynski, pz@modtor.uucp, peter@sni.ca, Toronto, Ont. Canada

			Sjaak.
-- 
Sjaak Schilperoort                   J.W.Schilperoort@research.ptt.nl
PTT Research, The Netherlands


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: YP/DNS problem with Suns&DECstations
  1993-01-26 20:23   ` Sjaak Schilperoort
@ 1993-01-26 21:38     ` Tom Murphy
  1993-01-27 18:50       ` Bill Gray
  1993-01-29 19:56       ` Sjaak Schilperoort
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Murphy @ 1993-01-26 21:38 UTC (permalink / raw)


You can also do a ypset on the sun clients to force them to bind to a
sun server.   It is a lot less work :-)

tgm
--
================================================================================
Tom Murphy - tmurphy@convex.com       |  I am sorry I forgot.  I do have a
CONVEX System Integration and Support |  photographic memory, but I ran
Product Specialist                    |  out of film 8-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: YP/DNS problem with Suns&DECstations
  1993-01-26 21:38     ` Tom Murphy
@ 1993-01-27 18:50       ` Bill Gray
  1993-01-29 19:56       ` Sjaak Schilperoort
  1 sibling, 0 replies; 6+ messages in thread
From: Bill Gray @ 1993-01-27 18:50 UTC (permalink / raw)


In article <tmurphy.728084284@mikey>, tmurphy@convex.com (Tom Murphy) writes:
|> You can also do a ypset on the sun clients to force them to bind to a
|> sun server.   It is a lot less work :-)

Yes,  but if and when that server gets slow (or unavailable -- the ultimate
slow),  then the client re-binds.  Then you are back to square 1.

========== long legal disclaimer follows, press n to skip ===========
\f
Neither the United States Government or the Idaho National Engineering
Laboratory or any of their employees, makes any warranty, whatsoever,
implied, or assumes any legal liability or responsibility regarding any
information, disclosed, or represents that its use would not infringe
privately owned rights.  No specific reference constitutes or implies
endorsement, recommendation, or favoring by the United States
Government or the Idaho National Engineering Laboratory.  The views and
opinions expressed herein do not necessarily reflect those of the
United States Government or the Idaho National Engineering Laboratory,
and shall not be used for advertising or product endorsement purposes.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: YP/DNS problem with Suns&DECstations
  1993-01-26 21:38     ` Tom Murphy
  1993-01-27 18:50       ` Bill Gray
@ 1993-01-29 19:56       ` Sjaak Schilperoort
  1 sibling, 0 replies; 6+ messages in thread
From: Sjaak Schilperoort @ 1993-01-29 19:56 UTC (permalink / raw)


tmurphy@convex.com (Tom Murphy) writes:

>You can also do a ypset on the sun clients to force them to bind to a
>sun server.   It is a lot less work :-)

But it will not work :-(. You will also have to tweak the NIS-database 
on the Ultrix master-server to make the Sun slave ypserv do DNS-calls.
And when the Sun-server goes down or gets overloaded, the Sun-clients
could rebind to an Ultrix-machine and DNS stops working. It is not
even guaranteed that NIS binds to the host you specify with ypset in
the first place.

			Sjaak.
-- 
Sjaak Schilperoort                   J.W.Schilperoort@research.ptt.nl
PTT Research, The Netherlands


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1993-01-29 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-01-19  1:23 YP/DNS problem with Suns&DECstations callahan
1993-01-22  5:03 ` Peter Ziobrzynski
1993-01-26 20:23   ` Sjaak Schilperoort
1993-01-26 21:38     ` Tom Murphy
1993-01-27 18:50       ` Bill Gray
1993-01-29 19:56       ` Sjaak Schilperoort

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox