SUMMARY: Strange DNS problem on Solaris 2.3

From: Susan Chay (
Date: Wed Jul 13 1994 - 10:30:32 CDT

Original Post :

>> We are running DNS and NIS on an environment of exclusively Solaris 2.3
>> machines. This is at a client site.
>> When I login to "fletch" from the machine "letters", I see the following :
>> Last login: Mon Jul 4 17:17:00 from
>> Doing a "who" also has similar results:
>> ming pts/6 Jul 4 17:17 (
>> This seems to imply that DNS is not set up properly.
>> However, I am able to do a "telnet letters" from "fletch" and the
>> hostname "letters" is resolved :
>> fletch% telnet letters
>> Trying ...
>> Connected to letters
>> Escape character is '^]'.
>> ....
>> If I do an nslookup on "letters", it tells me the correct IP address, etc.
>> So it appears that DNS is properly configured but yet login/who
>> does not know the hostname, i.e. it cannot resolve the hostname.

All the responses suggested me to set the reverse name/ptr records
(i.e. there should be a record that looks like
in ptr in your dns tables.

However I do have this set up properly but the problem still occurs.
I will hard code DNS in /etc/nsswitch.conf for now.

Thanks to the following :

From: (Carlos Estrada D.)
From: (Chris Swanson)
From: Tomasz Wolniewicz <>
From: (Bob Rahe)
From: Bryan Solie <>
From: Ric Anderson <ric@Artisoft.COM>
From: (Steve_Kilbane)

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:05 CDT