please note that if you don't have a dns server configured in /etc/reslv.conf then you can simply add entries to /etc/hosts file. please see:
http://unixhelp.ed.ac.uk/CGI/man-cgi?hostsNormally, ISPs provide DNS servers for their customers that can be configured in /etc/resolv.conf
http://docs.sun.com/app/docs/doc/816-1058/6m7gjuj5k?a=view