How To Install nsdiff on Fedora 36
Introduction
In this tutorial we learn how to install nsdiff
on Fedora 36.
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 | nsupdate
that 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 36. In this tutorial we discuss both methods but you only need to choose one of method to install nsdiff.
Install nsdiff on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install nsdiff
using dnf
by running the following command:
sudo dnf -y install nsdiff
Install nsdiff on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
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 36
To uninstall only the nsdiff
package we can use the following command:
sudo dnf remove nsdiff
nsdiff Package Contents on Fedora 36
/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 36 using yum and [dnf]((/fedora/36/dnf/).