How To Install getdns-utils on CentOS 8
Introduction
In this tutorial we learn how to install getdns-utils
on CentOS 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the getdns-utils
package we can use the following command:
sudo dnf remove getdns-utils
getdns-utils Package Contents on CentOS 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 CentOS 8 using yum and dnf.