conects but cannot resolve names

Hello,

i just received an already installed Solaris 9 box and did:

# vi /etc/hostname.eri0

# vi /etc/hosts

# vi /etc/netmasks

# vi /etc/defaultrouter

# vi /etc/resolv.conf

# touch /etc/norouter

# reboot

...

# nslookup friendmachine

-> nice output here

# ping defaultrouter_IP

-> nice output here

# ping friendmachine

friendmachine: host/servname not known

To be sure i copied the /etc/resolv.conf from

friendmachine, also Solaris 9, and at the same subnet,

to the new machine and rebooted ...

Again the same happens. I checked many times the

contents of the above files for consistence in comparison

to the contents for the ones from friendmachine.

What could be that?

Thanks in advance ...

null

[854 byte] By [unitysuna] at [2007-11-27 5:31:24]
# 1
Make sure you have dns specified in /etc/nsswitch.conf.The hosts line should have dns at the end.Eghosts: files dns
robert.cohena at 2007-7-12 14:56:33 > top of Java-index,General,Network Configurations...
# 2
If could also be how you connect to the Internet.Where I'm at Verizon insists that you use their name servers. Any attempt to use any other name server results in host not found messages.alan
alan.paea at 2007-7-12 14:56:33 > top of Java-index,General,Network Configurations...
# 3
Ja, /etc/nsswitch.conf is that.null
tunelera at 2007-7-12 14:56:33 > top of Java-index,General,Network Configurations...