Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* NIS on Digital UNIX 4.0c
@ 1997-07-09  4:00 Jonathan Nicholson
  1997-07-09  4:00 ` Mike Iglesias
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Nicholson @ 1997-07-09  4:00 UTC (permalink / raw)




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?

Regards,

Jonathan

 ----------------------------------------------------------------------------
= Jonathan Nicholson - System Administrator  +44 1223 494987 (internal 4987) =
= The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA  =
= Email: jjn@sanger.ac.uk (Work)  jono@acme.demon.co.uk (Home)               =
 ----------------------------------------------------------------------------




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

* Re: NIS on Digital UNIX 4.0c
  1997-07-09  4:00 NIS on Digital UNIX 4.0c Jonathan Nicholson
@ 1997-07-09  4:00 ` Mike Iglesias
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Iglesias @ 1997-07-09  4:00 UTC (permalink / raw)



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




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

end of thread, other threads:[~1997-07-09  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-09  4:00 NIS on Digital UNIX 4.0c Jonathan Nicholson
1997-07-09  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