Can you check the content of /etc/nsswitch.conf? It should contain something like:
hosts: files dns mdns wins
Please check it and retry.
Can you check the content of /etc/nsswitch.conf?
It should contain something like:
hosts: files dns mdns wins
Please check it and retry.