t2000 DNS issue

I have an issue with DNS on a solaris t2000

When I set up the zones there was an issue with the /etc/resolv.conf, I had made a typo in my DNS server.

I only noticed this after creating my new zones.

I have corrected this in the global zone and I am now able to ping and nslookup inthe global zone.

I then copied the corrected /etc/resolv.conf to each zone but I am unable to ping hostnames from any zone except the global zone.
To add even more confusion I am able to use NSlookup

# nslookup yahoo.com
Server: 193.195.52.40
Address: 193.195.52.40#53

Non-authoritative answer:
Name: yahoo.com
Address: 216.109.112.135
Name: yahoo.com
Address: 66.94.234.13

# ping yahoo.com
ping: unknown host yahoo.com
#

Any suggestions greatly appreciated.

never mind I solved my own problem

/etc/nsswitch.conf

had

hosts: files

it should have had

hosts: files dns

strangely the global zone did have the correct setting I have no idea why the other zones did not inherit this. Anyway problem solved.

I dont see how that would help configure solaris, is this spam?