[indiana-discuss] DNS problem in 2008.05 RC2

Glenn Lagasse Glenn.Lagasse at Sun.COM
Thu May 1 11:59:50 PDT 2008


* Vitaly (java at skypoint.ru) wrote:
> Hello!
> I have noticed a problem with DNS in OpenSolaris 2008.05 in WMWare
> Fusion virtual machine.
> 
> Network works
> 
> $ ifconfig -a lo0:
> flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
> index 1 inet 127.0.0.1 netmask ff000000 pcn0:
> flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500
> index 2 inet 192.168.212.128 netmask ffffff00 broadcast
> 192.168.212.255 lo0:
> flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
> index 1 inet6 ::1/128 
> 
> 
> nslookup works: $ nslookup opensolaris.org Server:		192.168.212.2
> Address:	192.168.212.2#53
> 
> Non-authoritative answer: Name:	opensolaris.org Address:
> 72.5.123.5
> 
> 
> But other programs cannot resolve hostnames, for example, wget says:
> 
> $ wget opensolaris.org --13:13:26--  http://opensolaris.org/ =>
> `index.html' Resolving opensolaris.org... failed: node name or service
> name not known.
> 
> 
> The problem occurs both on live CD and on the installed system.

I've seen an intermittant issue such as this though under different
circumstances.  Try restarting the name-service-cache service:

pfexec svcadm restart name-service-cache

And see if that gets things going for you.

cheers,

Glenn


More information about the indiana-discuss mailing list