dothost command not found

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

Introduction

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

dothost: command not found

or when using sudo you get the following error message

sudo: dothost: command not found

Solutions to dothost: command not found

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

In Ubuntu dothost is provided by dothost package.

dothost is:

Dothost is a Domain Name System (DNS) lookup network utility that produces output in Graphviz format. Supported output formats are: ascii, boxart, html, svg, dot, txt, vcg, gdl, graphml, gif, jpg, pdf, png and ps. It’s a tool that display DNS records in the terminal or export to a file.

This program can help you to create DNS lookup diagrams in some formats for large networks.

Target name or IP can be used for DNS outputs. Dothost supports IPv4 and IPv6 network protocols.

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

sudo apt-get -y install dothost

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

You can also use apt command to install dothost.

sudo apt -y install dothost

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

sudo aptitude install dothost

Summary

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