How To Install pdns on Rocky Linux 8

In this tutorial we learn how to install pdns on Rocky Linux 8. pdns is A modern, advanced and high performance authoritative-only nameserver

Introduction

In this tutorial we learn how to install pdns on Rocky Linux 8.

What is pdns

The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.

We can use yum or dnf to install pdns on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pdns.

Install pdns on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install pdns using dnf by running the following command:

sudo dnf -y install pdns

Install pdns on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pdns using yum by running the following command:

sudo yum -y install pdns

How To Uninstall pdns on Rocky Linux 8

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

sudo dnf remove pdns

pdns Package Contents on Rocky Linux 8

/etc/pdns
/etc/pdns/pdns.conf
/usr/bin/pdns_control
/usr/bin/pdns_zone2ldap
/usr/bin/pdnsutil
/usr/bin/zone2json
/usr/bin/zone2sql
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/041d1d2d91998ee361d29fb849f9ad8087a004
/usr/lib/.build-id/97
/usr/lib/.build-id/97/e3fac6b94cf7422c53101ce6a6e8e8438de4b1
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/1c6db5c872a7af073fc0c0554c0b13352812a6
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/e91f0645b8fd2c284fca0be919c92da6d7e556
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/5a8768e3c561f418a8b773aa1b53caafd062b1
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/6328aa3818fd924a000e934fe1d11018068226
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/99f2638e870bfa54c6f23304f5c2b0b7a5c2ee
/usr/lib/systemd/system/pdns.service
/usr/lib/systemd/system/[email protected]
/usr/lib64/pdns
/usr/lib64/pdns/libbindbackend.so
/usr/sbin/pdns_server
/usr/share/doc/pdns
/usr/share/doc/pdns/README
/usr/share/licenses/pdns
/usr/share/licenses/pdns/COPYING
/usr/share/man/man1/pdns_control.1.gz
/usr/share/man/man1/pdns_server.1.gz
/usr/share/man/man1/pdns_zone2ldap.1.gz
/usr/share/man/man1/pdnsutil.1.gz
/usr/share/man/man1/zone2json.1.gz
/usr/share/man/man1/zone2sql.1.gz

References

Summary

In this tutorial we learn how to install pdns on Rocky Linux 8 using yum and dnf.