nslookup / host Dns Client Testing Command Not Found on Debian / Ubuntu Linux

Posted on in Categories , , , , last updated January 18, 2008

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?
Continue reading “nslookup / host Dns Client Testing Command Not Found on Debian / Ubuntu Linux”

Configure Linux / UNIX Dns Resolver To Append Domain Search Names And Path ( ndots options )

Posted on in Categories , , , , , , , last updated April 22, 2014

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.