How To Install nsd on Fedora 34
Introduction
In this tutorial we learn how to install nsd on Fedora 34.
What is nsd
NSD is a complete implementation of an authoritative DNS name server. For further information about what NSD is and what NSD is not please consult the REQUIREMENTS document which is a part of this distribution.
We can use yum or dnf to install nsd on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nsd.
Install nsd 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 nsd using dnf by running the following command:
sudo dnf -y install nsd
Install nsd 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 nsd using yum by running the following command:
sudo yum -y install nsd
How To Uninstall nsd on Fedora 34
To uninstall only the nsd package we can use the following command:
sudo dnf remove nsd
nsd Package Contents on Fedora 34
/etc/nsd
/etc/nsd/conf.d
/etc/nsd/nsd.conf
/etc/nsd/nsd_control.key
/etc/nsd/nsd_control.pem
/etc/nsd/nsd_server.key
/etc/nsd/nsd_server.pem
/etc/nsd/server.d
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/3d53c63c575dafa36c9ee3192f5581f57db5e7
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/8c1a20c0953fd0c549132662a5615a8d1cde21
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/89c976d3324e452165d09810122c01b5fca654
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/5aa638d15477a46b947321de1407eff81872d8
/usr/lib/systemd/system/nsd-keygen.service
/usr/lib/systemd/system/nsd.service
/usr/lib/tmpfiles.d/nsd.conf
/usr/sbin/nsd
/usr/sbin/nsd-checkconf
/usr/sbin/nsd-checkzone
/usr/sbin/nsd-control
/usr/sbin/nsd-control-setup
/usr/share/doc/nsd
/usr/share/doc/nsd/CREDITS
/usr/share/doc/nsd/ChangeLog
/usr/share/doc/nsd/LICENSE
/usr/share/doc/nsd/NEW-CFG-OPTION
/usr/share/doc/nsd/NSD-4-features
/usr/share/doc/nsd/NSD-DATABASE
/usr/share/doc/nsd/NSD-DIFFFILE
/usr/share/doc/nsd/NSD-FOR-BIND-USERS
/usr/share/doc/nsd/README
/usr/share/doc/nsd/README.icc
/usr/share/doc/nsd/README.svn
/usr/share/doc/nsd/RELNOTES
/usr/share/doc/nsd/REQUIREMENTS
/usr/share/doc/nsd/TESTPLAN
/usr/share/doc/nsd/TODO
/usr/share/doc/nsd/UPGRADING
/usr/share/doc/nsd/coding-style
/usr/share/doc/nsd/differences.pdf
/usr/share/doc/nsd/differences.tex
/usr/share/doc/nsd/nsd.zones2nsd.conf
/usr/share/licenses/nsd
/usr/share/licenses/nsd/LICENSE
/usr/share/man/man5/nsd.conf.5.gz
/usr/share/man/man8/nsd-checkconf.8.gz
/usr/share/man/man8/nsd-checkzone.8.gz
/usr/share/man/man8/nsd-control.8.gz
/usr/share/man/man8/nsd.8.gz
/var/lib/nsd
/var/run/nsd
/etc/nsd
/etc/nsd/conf.d
/etc/nsd/nsd.conf
/etc/nsd/nsd_control.key
/etc/nsd/nsd_control.pem
/etc/nsd/nsd_server.key
/etc/nsd/nsd_server.pem
/etc/nsd/server.d
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/711a49096439e57a2eb7f43624b4acf74b8c31
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/81de7f7aa52d23e207f352e90e3086d2228d77
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/b6b10dd23f9b79762d4e55a40d4613ef0276b2
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/250d48df199bbbb0a3dbd2c391f353495708b4
/usr/lib/systemd/system/nsd-keygen.service
/usr/lib/systemd/system/nsd.service
/usr/lib/tmpfiles.d/nsd.conf
/usr/sbin/nsd
/usr/sbin/nsd-checkconf
/usr/sbin/nsd-checkzone
/usr/sbin/nsd-control
/usr/sbin/nsd-control-setup
/usr/share/doc/nsd
/usr/share/doc/nsd/CREDITS
/usr/share/doc/nsd/ChangeLog
/usr/share/doc/nsd/LICENSE
/usr/share/doc/nsd/NEW-CFG-OPTION
/usr/share/doc/nsd/NSD-4-features
/usr/share/doc/nsd/NSD-DATABASE
/usr/share/doc/nsd/NSD-DIFFFILE
/usr/share/doc/nsd/NSD-FOR-BIND-USERS
/usr/share/doc/nsd/README
/usr/share/doc/nsd/README.icc
/usr/share/doc/nsd/README.svn
/usr/share/doc/nsd/RELNOTES
/usr/share/doc/nsd/REQUIREMENTS
/usr/share/doc/nsd/TESTPLAN
/usr/share/doc/nsd/TODO
/usr/share/doc/nsd/UPGRADING
/usr/share/doc/nsd/coding-style
/usr/share/doc/nsd/differences.pdf
/usr/share/doc/nsd/differences.tex
/usr/share/doc/nsd/nsd.zones2nsd.conf
/usr/share/licenses/nsd
/usr/share/licenses/nsd/LICENSE
/usr/share/man/man5/nsd.conf.5.gz
/usr/share/man/man8/nsd-checkconf.8.gz
/usr/share/man/man8/nsd-checkzone.8.gz
/usr/share/man/man8/nsd-control.8.gz
/usr/share/man/man8/nsd.8.gz
/var/lib/nsd
/var/run/nsd
References
Summary
In this tutorial we learn how to install nsd on Fedora 34 using yum and dnf.