How To Install pdns-ixfrdist on Debian 11

In this tutorial we learn how to install pdns-ixfrdist on Debian 11. pdns-ixfrdist is Redistribute DNS zones over AXFR/IXFR

Introduction

In this tutorial we learn how to install pdns-ixfrdist on Debian 11.

What is pdns-ixfrdist

pdns-ixfrdist is:

Transfers zones from an authoritative DNS server and serves them over AXFR and IXFR, caching multiple versions as needed on disk. This tool does not require any part of the PowerDNS server components to work.

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

Install pdns-ixfrdist Using apt-get

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

sudo apt-get update

After updating apt database, We can install pdns-ixfrdist using apt-get by running the following command:

sudo apt-get -y install pdns-ixfrdist

Install pdns-ixfrdist Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pdns-ixfrdist using apt by running the following command:

sudo apt -y install pdns-ixfrdist

Install pdns-ixfrdist 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 pdns-ixfrdist using aptitude by running the following command:

sudo aptitude -y install pdns-ixfrdist

How To Uninstall pdns-ixfrdist on Debian 11

To uninstall only the pdns-ixfrdist package we can use the following command:

sudo apt-get remove pdns-ixfrdist

Uninstall pdns-ixfrdist And Its Dependencies

To uninstall pdns-ixfrdist and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove pdns-ixfrdist

Remove pdns-ixfrdist Configurations and Data

To remove pdns-ixfrdist configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge pdns-ixfrdist

Remove pdns-ixfrdist configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pdns-ixfrdist

Dependencies

pdns-ixfrdist have the following dependencies:

References

Summary

In this tutorial we learn how to install pdns-ixfrdist package on Debian 11 using different package management tools: apt, apt-get and aptitude.