Here it says that the DNS lookup using 'host -v -t A `hostname`' should should resolve to an ip address. But I'm not able to get the hostname mapped to an ip address.
my /etc/hosts file has the FQDN and /etc/hostname file has the hostname. The hostname, hostname -f, hostname -d commands work fine. 'ping' is able to resolve the ip from hostname and FQDN but 'host' or 'nslookup' commands do not work. How do I fix this?