The format should be similar to what iamasmith posted. The intent is to say 'resolve this host name to this IP address'
localhost 127.0.0.1
martysmulebarn 129.0.0.1
mcdonaldland 192.168.0.14
Give it a shot.
Ling, that's the format for a host file.
The format for resolv.conf should definely be...
nameserver x.x.x.x
nameserver y.y.y.y
etc.
i.e.
nameserver 10.1.0.1
nameserver is not a label, it's a directive for the resolver.
- Andy