> -----Original Message-----
> From: Steve Loughran [SMTP:[EMAIL PROTECTED]]
> Subject:      [FW1] resolving hostnames on FW-1/Solaris
> 
> 
> Hi All
> 
> Got a strange one here. If I use nslookup on the FW to resolve a name, it
> works. when I try to ping that host its comes up with unknown host. I know
> its something to do with resolv.conf of nsswitch.conf, but I cant work out
> what I`ve done wrong. Any tips would be greatly appreciated.
> 
Steve,

Since you mention nsswitch.conf, I assume a Solaris environment.  On
Solaris, nslookup is compiled with the BIND DNS resolver as its default, so
will ALWAYS use DNS if the resolv.conf is correctly configured.  On the
other hand, ping will use whatever your nsswitch.conf specifies.

Since nslookup works, I assume that resolv.conf is correct, but that
nsswitch.conf has
        hosts: files
instead of
        hosts: files dns

Change that, then check that you can now ping the host by name.  Once ping
is happy, reboot the system to make sure that the daemons all see the
changed configuration.  


T

-- 
Timothy Frost                   mailto:[EMAIL PROTECTED]
EDS New Zealand                 Fax: +64-4-495-0473
8 Gilmer Terrace                        Phone: +64-4-495-0504
P O Box 3647
Wellington
New Zealand

> --
> 
> Steve
> 


================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================

Reply via email to