getdns_server_mon command not found

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

Introduction

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

getdns_server_mon: command not found

or when using sudo you get the following error message

sudo: getdns_server_mon: command not found

Solutions to getdns_server_mon: command not found

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

In Ubuntu getdns_server_mon is provided by getdns-utils package.

getdns-utils is:

getdns is a modern asynchronous DNS API. It implements DNS entry points from a design developed and vetted by application developers, in an API specification edited by Paul Hoffman. This API intends to offer application developers a modernized and flexible way to access DNS security (DNSSEC) and other powerful new DNS features; a particular hope is to inspire application developers towards innovative security solutions in their applications.

This package contains getdns-query utility.

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

sudo apt-get -y install getdns-utils

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

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

sudo apt -y install getdns-utils

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

sudo aptitude install getdns-utils

Summary

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