Re: ping hostname failed while ping IP_Address working On Aug 2, 12:29 am, Dave Uhring <daveuhr...@yahoo.com> wrote:
> On Wed, 01 Aug 2007 21:55:19 -0700, Salman wrote:
> > I dont have access to the Server now. but i am sure that the entries in
> > /etc/nsswitch.conf will be
>
> > hosts: files dns
>
> > as default , i didnt change it.
>
> That is not the default. Copy /etc/nsswitch.dns over /etc/nsswitch.conf
> to get what you need. Then ensure that your hosts files are populated
> and correct and that /etc/resolv.conf contains the correct nameserver
> entry.
>
> > just wanted to know if anyone face such problem ever ?
>
> Many times.
>
> > and how critical it is ?
>
> Depends on how critically you need to resolve names and addresses.
Also check your /etc/inet/ipnodes file. Usually I just cp /etc/hosts
to /etc/inet/ipnodes since I am not using ip6. But Sol10 checks
ipnodes first before hosts. That is stated in the nsswitch.conf file. |