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 188.8.131.52
>> Doing a "who" also has similar results:
>> ming pts/6 Jul 4 17:17 (184.108.40.206)
>> 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 220.127.116.11 ...
>> 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 18.104.22.168.in-addr.arpa
in ptr letters.foo.com. 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: firstname.lastname@example.org (Carlos Estrada D.)
From: email@example.com (ANDY KUMEDA)
From: firstname.lastname@example.org (Chris Swanson)
From: Tomasz Wolniewicz <email@example.com>
From: firstname.lastname@example.org (Bob Rahe)
From: Bryan Solie <email@example.com>
From: Ric Anderson <ric@Artisoft.COM>
From: firstname.lastname@example.org (Steve_Kilbane)
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:05 CDT