From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,15806a1d173b6c71 X-Google-Attributes: gidf678f,public From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: NIS on Digital UNIX 4.0c Date: 1997/07/09 Message-ID: <5q11ej$lnk@news.service.uci.edu>#1/1 X-Deja-AN: 255845794 References: Organization: University of California, Irvine Newsgroups: comp.unix.osf.misc In article , Jonathan Nicholson 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