: We are having a problem setting up name resolution of two of our
: sun machines (one running Solaris 1.1, the other 2.2). We have
: added the appropriate information to the /etc/resolv.conf file, and
: nslookup appears to work just fine. However, telnet, rlogin, ping,
: etc. don't seem to name resolve at all. Are we missing something
: here? I can't find anything in the man pages to point me to whatever
: it is I need to do to get name resolution working.
: Any help would be greatly appreciated. Thanks in advance.
I hate this. It's naff, but in SunOS 4.0.1 (some of us still use it!)
and presumably also in Solaris 1 you have to run YP to be able to use
the DNS. It seems that the DNS resolver is tied up with the ypserv
command.
I haven't got the info to hand at the mo. but from memory (flame mode
off you guys) in the Makefile in /var/yp there should be two lines :-
#B=-b
B=
change them to read B=-b. This tells YP to use DNS if it can't resolve
the query. Then rebuild the hosts map - make hosts.time
I bet I can pre-empt your next question - why does nslookup work? My
guess is it interrogates the resolv.conf and goes straight to the name
server listed.
If you want to dispense with YP completely then someone else maybe able
to help.
Paul.
--
Paul Rossington, | "All eyes were on Ford Prefect - some
Datastream International, London | were on stalks" - Hitch-hikers Guide