I am having a very strange problem with my installation of Solaris 11. DNS resolution just won't work, but strangely enough, nslookup does and connectivity is fine:
root@solarisxyz:~# ping stackexchange.com ping: unknown host stackexchange.com root@solarisxyz:~# nslookup stackexchange.com Server: 10.x.x.x (DNS) Address: 10.x.x.x#y Non-authoritative answer: Name: stackexchange.com Address: 64.34.119.12 root@solarisxyz:~# ping 64.34.119.12 64.34.119.12 is alive Relevant sections of files:
/etc/resolv.conf: (this is the same thing our Linux boxes have)
domain us.oracle.com nameserver 10.x.x.x nameserver 10.x.x.x/etc/hosts:
# ::1 solarisxyz localhost (commented out) 127.0.0.1 localhost loghost solarisxyz/etc/nsswitch.conf:
hosts: files dns # pretty much everything else set to files
resolv.conf, is it actually10.x.x.xor did you hide the IP address?dig @10.x.x.x stackexchange.comdig @8.8.8.8 stackexchange.comdig stackexchange.com