How to Fix nslookup, host, dig: -bash: command not found in Linux?

Symptoms: When i try to verify the dns and run a few dns command utilities such as host, dig and nslookup, below error appeared: [root@mail ~]# host -t mx zimbra.local bash: host: command not found [root@mail ~]# dig -t mx zimbra.local bash: dig: command not found [root@mail ~]# nslookup -t mx zimbra.local bash: nslookup: command […]

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee