host command does not use hosts file
Hello...
I have RHEL 5 with a hosts file listing this entry:
192.168.1.8 OFICINA-XX
When I run: "ping OFICINA-XX", the name is correctly resolved.
But when I run: "host OFICINA-XX" this error occurs:
Host OFICINA-XX not found: 3(NXDOMAIN)
How can I make host command to recognize the name?
Thanks a lot in advance
Jaime
|