make nslookup read /etc/hosts file
Dear,
OS: OUL5x64
my nslookup resolve the name thru dns server.
question :
how to make nslookup resolves name through /etc/hosts file.
i do have /etc/resolv.conf and /etc/nsswitch.conf file
here is my nsswitch.conf
/etc/nsswitch.conf
#hosts: db files nisplus nis dns
hosts: files
but it never uses the file to resolve the name.
how can i force it to read /etc/hosts file first
Thanks in advance!