How To Install nsdiff on Fedora 34
Introduction
In this tutorial we learn how to install nsdiff on Fedora 34.
What is nsdiff
The nsdiff program examines the old and new versions of a DNS zone, and outputs the differences as a script for use by BIND’s nsupdate program. It provides a bridge between static zone files and dynamic updates. The nspatch script is a wrapper around
nsdiff | nsupdatethat checks and reports errors in a manner suitable for running from cron. The nsvi script makes it easy to edit a dynamic zone.
We can use yum or dnf to install nsdiff on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nsdiff.
Install nsdiff 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 nsdiff using dnf by running the following command:
sudo dnf -y install nsdiff
Install nsdiff 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 nsdiff using yum by running the following command:
sudo yum -y install nsdiff
How To Uninstall nsdiff on Fedora 34
To uninstall only the nsdiff package we can use the following command:
sudo dnf remove nsdiff
nsdiff Package Contents on Fedora 34
/usr/bin/nsdiff
/usr/bin/nspatch
/usr/bin/nsvi
/usr/share/doc/nsdiff
/usr/share/doc/nsdiff/README.pod
/usr/share/man/man1/nsdiff.1.gz
/usr/share/man/man1/nspatch.1.gz
/usr/share/man/man1/nsvi.1.gz
/usr/share/man/man3/DNS::nsdiff.3.gz
/usr/share/perl5/vendor_perl/DNS
/usr/share/perl5/vendor_perl/DNS/nsdiff.pm
/usr/bin/nsdiff
/usr/bin/nspatch
/usr/bin/nsvi
/usr/share/doc/nsdiff
/usr/share/doc/nsdiff/README.pod
/usr/share/man/man1/nsdiff.1.gz
/usr/share/man/man1/nspatch.1.gz
/usr/share/man/man1/nsvi.1.gz
/usr/share/man/man3/DNS::nsdiff.3pm.gz
/usr/share/perl5/vendor_perl/DNS
/usr/share/perl5/vendor_perl/DNS/nsdiff.pm
References
Summary
In this tutorial we learn how to install nsdiff on Fedora 34 using yum and dnf.