On 6/1/2010 9:19 AM, Shawn Walker wrote:
On 06/ 1/10 05:39 AM, Brandon Hume wrote:
On Mon, 2010-05-31 at 20:22 -0700, lance tan wrote:
When I login to osol from another host in the LAN, obviously, the DNS server couldn't reverse resolve the IP inside the LAN. But there is no way to disable DNS reverse lookup by SunSSH.

No, but you can trick it.  Toss the IPs in question into /etc/hosts.

That didn't work for me. In my case, I ended up having to temporarily copy /etc/nsswitch.files to /etc/nsswitch.conf and then do my rsync's, etc. and then copy nsswitch.dns back over it.

Cheers,
-Shawn


Shawn -  just change the "hosts" line of /etc/nsswitch.conf to be:

hosts:        files dns


That should work just fine as a permanent fix (as well as putting the IPs you really care about in /etc/hosts).


--
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to