named-checkconf command not found

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

Introduction

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

named-checkconf: command not found

or when using sudo you get the following error message

sudo: named-checkconf: command not found

Solutions to named-checkconf: command not found

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

In Ubuntu named-checkconf is provided by bind9-utils package.

bind9-utils is:

This package provides various utilities that are useful for maintaining a working BIND 9 installation.

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

sudo apt-get -y install bind9-utils

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

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

sudo apt -y install bind9-utils

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

sudo aptitude install bind9-utils

Summary

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