all-knowing-dns command not found

In this troubleshooting guide we learn how to fix all-knowing-dns command not found error message

Introduction

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

all-knowing-dns: command not found

or when using sudo you get the following error message

sudo: all-knowing-dns: command not found

Solutions to all-knowing-dns: command not found

How To Fix all-knowing-dns: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu all-knowing-dns is provided by all-knowing-dns package.

all-knowing-dns is:

AllKnowingDNS provides reverse DNS for IPv6 networks which use SLAAC (autoconf), e.g. for a /64 network.

The problem with IPv6 reverse DNS and traditional nameservers is that the nameserver requires you to provide a zone file. Assuming you want to provide RDNS for a /64 network, you have 2**64 = 18446744073709551616 different usable IP addresses (a little less if you are using SLAAC). Providing a zone file for that, even in a very terse notation, would consume a huge amount of disk space and could not possibly be held in the memory of the computers available nowadays.

AllKnowingDNS instead generates PTR and AAAA records on the fly. You only configure which network you want to serve and what your entries should look like.

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

sudo apt-get -y install all-knowing-dns

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

You can also use apt command to install all-knowing-dns.

sudo apt -y install all-knowing-dns

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

sudo aptitude install all-knowing-dns

Summary

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