dnstwist command not found

In this troubleshooting guide we learn how to fix dnstwist command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dnstwist: command not found

or when using sudo you get the following error message

sudo: dnstwist: command not found

Solutions to dnstwist: command not found

How To Fix dnstwist: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dnstwist is provided by dnstwist package.

dnstwist is:

dnstwist generates a list of similarly looking domain names for a given domain name and performs DNS queries for them (A, AAAA, NS and MX). For MX records it checks whether there is an active mail server which could be used to intercept misdirected emails. Additionally it estimates webpage similarity based on fuzzy hashes. This functionality might be helpful in detecting typosquatters, phishing attacks, fraud and corporate espionage.

To fix this problem, we can install more using the command below.

sudo apt-get -y install dnstwist

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install dnstwist.

sudo apt -y install dnstwist

Or if you have aptitude installed you can use the following command.

sudo aptitude install dnstwist

Summary

In this tutorial we learn how to fix dnstwist command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.