How To Install pdns on Fedora 34
Introduction
In this tutorial we learn how to install pdns
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pdns.
Install pdns on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install pdns
using dnf
by running the following command:
sudo dnf -y install pdns
Install pdns on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the pdns
package we can use the following command:
sudo dnf remove pdns
pdns Package Contents on Fedora 34
/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/07
/usr/lib/.build-id/07/58bf81accf3c0c1afcbef85e2fe1eaf40059b8
/usr/lib/.build-id/23
/usr/lib/.build-id/23/134455539bebf79e7572d7ce7fc151ee98d522
/usr/lib/.build-id/67
/usr/lib/.build-id/67/a35e3e1851cca917813ce6690d5d1277be07a1
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/dcea998722540dcaaa0048a5977b2572311c68
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/8c67c46685a888f93a5cbc238315ef27a2718f
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/cd4392c2f73997f421e9cf4f43394761cab81e
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/9486248296211c9a8d90dab2138a668e9684f7
/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 Fedora 34 using yum and dnf.