Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: NIS on Digital UNIX 4.0c
Date: 1997/07/09	[thread overview]
Message-ID: <5q11ej$lnk@news.service.uci.edu> (raw)
In-Reply-To: Pine.OSF.3.95.970709180337.1142E-100000@byron


In article <Pine.OSF.3.95.970709180337.1142E-100000@byron>,
Jonathan Nicholson  <jjn@sanger.ac.uk> wrote:
>
>I've just setup a Digital Unix box as a NIS and DNS server (both secondary
>servers), when an SGI (IRIX 5.2) or a SunOS (4.1) machine tries to get
>hostname information from this server it fails to refer to the DNS maps.
>and only sees the hosts named in the NIS hosts file. 
>
>This doesn't happen when these machines are talking to the other 2 NIS
>servers (both SunOS 4.1 machines)
>
>Has anyone seen this behaviour before, or know of a fix?

If you give a Sun NIS server the right incantations (which I don't
remember) when building the maps it will do DNS lookups for you if the
requested host is not in the NIS map.  As far as I know, they are the only
ones that do that. 

On the SGI system you can change how it does host lookups by
using the "hostresorder" option in /etc/resolv.conf (you probably want
"local nis bind" or "local bind").  

On Suns running SunOS, you'll need to remake the shared libc so that it
does DNS lookups instead of NIS lookups for hostnames.  Look in
/usr/lib/shlib.etc for info on how to rebuild the library.  Note that any
statically linked programs will still do things the Sun way, and may not
find hostnames when they should. 

-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069




      reply	other threads:[~1997-07-09  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-09  4:00 NIS on Digital UNIX 4.0c Jonathan Nicholson
1997-07-09  4:00 ` Mike Iglesias [this message]
read-only archive

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