How To Install getdns-utils on Rocky Linux 8
Introduction
In this tutorial we learn how to install getdns-utils
on Rocky Linux 8.
What is getdns-utils
The getdns-utils package contains utilities using getdns library, getdns_query and getdns_query_mon utilities. They can be used to analyze responses from DNS servers over UDP, TCP and TLS, including support for DNS security. getdns_query can be used for fetching details of DNS responses in json format. getdns_query_mon is great for automated monitoring of DNS server replies.
We can use yum
or dnf
to install getdns-utils
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install getdns-utils.
Install getdns-utils 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 getdns-utils
using dnf
by running the following command:
sudo dnf -y install getdns-utils
Install getdns-utils 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 getdns-utils
using yum
by running the following command:
sudo yum -y install getdns-utils
How To Uninstall getdns-utils on Rocky Linux 8
To uninstall only the getdns-utils
package we can use the following command:
sudo dnf remove getdns-utils
getdns-utils Package Contents on Rocky Linux 8
/usr/bin/getdns_query
/usr/bin/getdns_server_mon
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/681973588b8904dfbabe1aa474ba157a6154fe
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/95985ccb4f6f1c4c8c54a2cba0a30ac89521f5
References
Summary
In this tutorial we learn how to install getdns-utils
on Rocky Linux 8 using yum and dnf.