SUMMARY: Sunos 4 name resolution problems

From: Ray Pengelly (ray@biomed.queensu.ca)
Date: Fri Jun 02 2006 - 15:22:26 EDT


> -----Original Message-----
> From: sunmanagers-bounces@sunmanagers.org [mailto:sunmanagers-
> bounces@sunmanagers.org] On Behalf Of Ray Pengelly
> Sent: Friday, June 02, 2006 11:41 AM
> To: sunmanagers@sunmanagers.org
> Subject: Sunos 4 name resolution problems
>
> Hey everyone,
>
>
>
> We have an ancient sparc station 2 running sunOS 4.13. It uses NIS for
> name
> resolution. The master is a machine running nis+ in compatibility mode. I
> had to move both of these machines over to a new subnet and have
> successfully brought up the nisplus machine. I made sure to uncomment the
> emulation line in nscd.conf.
>
>
>
> I have the sunos 4.13 client authenticating users to the master via nis.
> There are some weird things going on that no amount of googling seems to
> answer. Here's the behaviour.
>
>
>
>
>
> /etc/hosts looks fine.
>
> 192.168.0.2 server.mydomain.com server
>
> 192.168.0.3 fileserver.mydomain.com fileserver
>
>
>
> ping from client to server works using FQDN (ie server.mydomain.com)
>
> ping from client to server does not work using alias. (ie server)
>
>
>
> Ping from client to fileserver works using FQDN (ie
> fileserver.mydomain.com)
>
> Ping from client to fileserver works using alias (ie fileserver)
>
>
>
> All are on the same subnet.
>
>
>
> I know Solaris well and know how to change nsswitch.conf to debug these
> sort
> of problems but I'm a little green with SunOS 4.13. Anyone got ideas of
> how
> to fix this?
>

I checked the nis+ hosts database and found when the new IP for the hosts
were added the aliases were forgotten. I added the aliases and it now
addresses the master properly via the short alias. However I thought it
should check the hosts file first.

Ray
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:01 EDT