Resolver on Suns

Edgar Holmann edgar at nova.stanford.edu
Fri Jun 29 09:45:29 AEST 1990


I have the following set up:

   ypserver  - DEC 5400 running Ultrix 3.1
   ypclients - DEC 3100 running Ultrix 3.1
               Sun 3/260 running Sun UNIX 4.2 Release 3.5

and from the client, I want to be able to run 'finger @somehost' and have it
work.  For both clients, this works ok when the host is present in the local
/etc/hosts file or in the yellow pages hosts database.  When the host is not
present in either of these two files, the name is still resolved fine in the
Ultrix system by using the /etc/resolv.conf nameservers.  The problem is with
the sun; there is still a reference in the man pages for the existence of a
resolv.conf file but this doesn't work.  (SunOS Release 4.0 changed the name of
this file to resolve.conf.)

The question is, what else do you need to do besides creating the resolv.conf
file to have this work?  Also, is there a counterpart to svcorder for suns to
specify the order of search that the gethostent interface uses?

Thanks,
--
Edgar Holmann                       UUCP:   decwrl!nova!edgar at uunet.uu.net
edgar at Neon.stanford.edu             BITNET: edgar%Neon.stanford.edu at stanford



More information about the Comp.unix.questions mailing list