inline

Brent Jones wrote, On 01/16/09 18:12:
On Fri, Jan 16, 2009 at 4:43 PM, Han IL <[email protected]> wrote:
  
I have a problem of DNS configuration for OpenSolaris.

As I have configured in Solaris 10...

# cat /etc/resolv.conf
domain localdomain
nameserver 168.126.63.1
nameserver 168.126.63.2

(the addresses are correct.)


In OpenSolaris, I configured that above,

The ping for global(external) IP address is successful,
but the ping for global(external) domain name is failed.

in spite of the IP address and the domain name are same web server.

(for example...)
# ping 72.5.x.1
72.5.x.1 is alive
# ping www.xxxxx.com
ping: unknown host www.xxxxx.com

(The IP address and the domain name are same web server.)


I think this is a problem of configuration for OpenSolaris for sure,
isn't this??

I would appreciate your answer.
Thank you.
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

    

Did you copy /etc/nsswitch.dns to /etc/nsswitch.conf
Try that and report back

  
You also need to restart the cache service if/when you swap out or change the nsswitch file

    svcadm restart system/name-service-cache:default


The full process if you add DNS resolving to a running system is:

   create your /etc/resolv.conf
   cp /etc/nsswitch.dns /etc/nsswitch.conf
   svcadn enable svc:/network/dns/client:default               <= this gets started at boot time if a /etc/resolv.conf exists
   svcadm restart system/name-service-cache:default


_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to