dnsget command not found

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

Introduction

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

dnsget: command not found

or when using sudo you get the following error message

sudo: dnsget: command not found

Solutions to dnsget: command not found

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

In Ubuntu dnsget is provided by udns-utils package.

udns-utils is:

This package includes the following utilities: dnsget - a simple DNS query tool, like host' or dig’ for usage from a command line, and dnsip, dnsname etc for usage in scripts rblcheck - DNSBL (rbl) checker All the utilities are built using udns library

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

sudo apt-get -y install udns-utils

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

You can also use apt command to install udns-utils.

sudo apt -y install udns-utils

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

sudo aptitude install udns-utils

Summary

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