Thank you James Carlson and Roy Sebastien for clearing this up for me.

I'll make the changes and continue with my testing.

Daniel

>>> Sebastien Roy <[EMAIL PROTECTED]> 10/13/2006 10:31 AM >>>
On Fri, 2006-10-13 at 10:07 -0400, Daniel Synnott wrote:
> When logging in, the host I'm connecting to does a reverse dns lookup

> for the source ip address, which in my test environment fails.  In
the
> past, 
> under Solaris 2.5, through I think 2.9, all that was necessary was
to
> configure
> the host in the /etc/host file and ip lookups were resolved by the
> hosts
> file, assuming that the hosts entry in the nsswitch.conf listed
files
> before dns.  
> I understood that my dns server was not available, but relied on 
> past experience and assumed that the ip lookups would be resolved
> by the hosts file.

I have a theory.  Your IP address is in /etc/hosts, but not
in /etc/inet/ipnodes.  The lookup order in the nsswitch is ipnodes
first, then hosts.  In nsswitch.conf, you probably have something
like:

hosts: files dns
ipnodes: files dns

In which case, the system looks things up in /etc/inet/ipnodes, then
dns, then in /etc/hosts.  This is broken system architecture which was
recently fixed in Nevada.  For now, a workaround is to populate your
addresses in both /etc/inet/ipnodes and /etc/hosts.

If you upgrade your systems to a recent OpenSolaris Nevada build, you
can see that /etc/inet/ipnodes is just a symbolic link
to /etc/inet/hosts.  See the following CR fixed in snv_47 for more
information on this problem:

6219146 /etc/inet/hosts and /etc/inet/ipnodes need to be the same file
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6219146 

-Seb



_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to