How To Install all-knowing-dns on Debian 9

In this tutorial we learn how to install all-knowing-dns on Debian 9. all-knowing-dns is tiny DNS server for IPv6 Reverse DNS

Introduction

In this tutorial we learn how to install all-knowing-dns on Debian 9.

What is all-knowing-dns

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.

There are three methods to install all-knowing-dns on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install all-knowing-dns Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install all-knowing-dns using apt-get by running the following command:

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

Install all-knowing-dns Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install all-knowing-dns using apt by running the following command:

sudo apt -y install all-knowing-dns

Install all-knowing-dns Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install all-knowing-dns using aptitude by running the following command:

sudo aptitude -y install all-knowing-dns

How To Uninstall all-knowing-dns on Debian 9

To uninstall only the all-knowing-dns package we can use the following command:

sudo apt-get remove all-knowing-dns

Uninstall all-knowing-dns And Its Dependencies

To uninstall all-knowing-dns and its dependencies that are no longer needed by Debian 9, we can use the command below:

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

Remove all-knowing-dns Configurations and Data

To remove all-knowing-dns configuration and data from Debian 9 we can use the following command:

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

Remove all-knowing-dns configuration, data, and all of its dependencies

We can use the following command to remove all-knowing-dns configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge all-knowing-dns

Dependencies

all-knowing-dns have the following dependencies:

References

Summary

In this tutorial we learn how to install all-knowing-dns package on Debian 9 using different package management tools: apt, apt-get and aptitude.