unbound-checkconf command not found

In this troubleshooting guide we learn how to fix unbound-checkconf command not found error message

Introduction

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

unbound-checkconf: command not found

or when using sudo you get the following error message

sudo: unbound-checkconf: command not found

Solutions to unbound-checkconf: command not found

How To Fix unbound-checkconf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu unbound-checkconf is provided by unbound package.

unbound is:

Unbound is a recursive-only caching DNS server which can perform DNSSEC validation of results. It implements only a minimal amount of authoritative service to prevent leakage to the root nameservers: forward lookups for localhost, reverse for 127.0.0.1 and ::1, and NXDOMAIN for zones served by AS112. Stub and forward zones are supported.

This package contains the unbound daemon.

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

sudo apt-get -y install unbound

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

You can also use apt command to install unbound.

sudo apt -y install unbound

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

sudo aptitude install unbound

Summary

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