How To Install dnsperf on Fedora 34

dnsperf is Benchmarking authorative and recursing DNS servers

Introduction

In this tutorial we learn how to install dnsperf on Fedora 34.

What is dnsperf

This is dnsperf, a collection of DNS server performance testing tools. For more information, see the dnsperf(1) and resperf(1) man pages.

We can use yum or dnf to install dnsperf on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dnsperf.

Install dnsperf 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 dnsperf using dnf by running the following command:

sudo dnf -y install dnsperf

Install dnsperf 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 dnsperf using yum by running the following command:

sudo yum -y install dnsperf

How To Uninstall dnsperf on Fedora 34

To uninstall only the dnsperf package we can use the following command:

sudo dnf remove dnsperf

dnsperf Package Contents on Fedora 34

/usr/bin/dnsperf
/usr/bin/dnsperf-data
/usr/bin/resperf
/usr/bin/resperf-report
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/533000898a77ee0d35083226b4d1e488dbe1b3
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/19dc5bee24161aac46d6bf72997c810b500087
/usr/share/dnsperf
/usr/share/dnsperf/queryfile-example-current
/usr/share/doc/dnsperf
/usr/share/doc/dnsperf/CHANGES
/usr/share/doc/dnsperf/README.md
/usr/share/licenses/dnsperf
/usr/share/licenses/dnsperf/LICENSE
/usr/share/man/man1/dnsperf.1.gz
/usr/share/man/man1/resperf.1.gz
/usr/bin/dnsperf
/usr/bin/dnsperf-data
/usr/bin/resperf
/usr/bin/resperf-report
/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/081775e2905a7f0d821459e3f0293bb5ff5159
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/b002a4141959909c1e82e61d7bdaec9a14f5f4
/usr/share/dnsperf
/usr/share/dnsperf/queryfile-example-current
/usr/share/doc/dnsperf
/usr/share/doc/dnsperf/CHANGES
/usr/share/doc/dnsperf/README.md
/usr/share/licenses/dnsperf
/usr/share/licenses/dnsperf/LICENSE
/usr/share/man/man1/dnsperf.1.gz
/usr/share/man/man1/resperf.1.gz

References

Summary

In this tutorial we learn how to install dnsperf on Fedora 34 using yum and dnf.