host command

Q. I’m not able to run nslookup or host command under Debian or Ubuntu Linux. In fact, these commands are missing from my installation. How do I install nslookup and related dns client commands?

{ 7 comments }

I‘m using CentOS Linux server version 5.x/6.x+. How do I configure a system so that the DNS resolver will append search path extensions to hostnames that have dots in them? For example, my domain name is test.com. when I query for mail hostname it should append .test.com and return the IP address of mail.test.com hostname.

{ 3 comments }