/etc/resolv.conf

I am new to unix. I have edited the /etc/resolv.conf. It shows

domain name
ip address
ip address

These are the same ips of the dns I use for windows. Still I get no name resolution on the internet. I can ping external ip's is there anything else I need to check?

The file should have this format:

domainname yourdomain.com
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

Where xxx.xxx.xxx.xxx are the IP addresses of the known nameservers.