dnseval command not found

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

Introduction

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

dnseval: command not found

or when using sudo you get the following error message

sudo: dnseval: command not found

Solutions to dnseval: command not found

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

In Ubuntu dnseval is provided by dnsdiag package.

dnsdiag is:

Set of tools to perform basic audits on your DNS requests and responses to make sure your DNS is working as you expect. Dnsping can be used to measure the response time of a given DNS server for arbitrary requests. Just like a traditional ping utility, it provides similar functionality for DNS requests.

Dnstraceroute can be used to trace the path a DNS request takes to destination. Its purpose is to detect whether a request is redirected or hijacked. This can be done by comparing different DNS queries being sent to the same DNS server using dnstraceroute and observe if there is any difference between the path.

dnseval evaluates multiple DNS resolvers and helps you choose the best DNS server for your network. It is highly recommended to use your own DNS resolver as opposed to a third-party DNS server, but in case you need to choose the best DNS forwarder for your network, dnseval lets you compare different DNS servers from performance (latency) and reliability (loss) point of view.

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

sudo apt-get -y install dnsdiag

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

You can also use apt command to install dnsdiag.

sudo apt -y install dnsdiag

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

sudo aptitude install dnsdiag

Summary

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