How To Install bind-utils on Rocky Linux 8

In this tutorial we learn how to install bind-utils on Rocky Linux 8. bind-utils is Utilities for querying DNS name servers

Introduction

In this tutorial we learn how to install bind-utils on Rocky Linux 8.

What is bind-utils

Bind-utils contains a collection of utilities for querying DNS (Domain Name System) name servers to find out information about Internet hosts. These tools will provide you with the IP addresses for given host names, as well as other information about registered domains and network addresses. You should install bind-utils if you need to get information from DNS name servers.

We can use yum or dnf to install bind-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bind-utils.

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

sudo dnf -y install bind-utils

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

sudo yum -y install bind-utils

How To Uninstall bind-utils on Rocky Linux 8

To uninstall only the bind-utils package we can use the following command:

sudo dnf remove bind-utils

bind-utils Package Contents on Rocky Linux 8

/etc/trusted-key.key
/usr/bin/arpaname
/usr/bin/delv
/usr/bin/dig
/usr/bin/dnstap-read
/usr/bin/host
/usr/bin/nslookup
/usr/bin/nsupdate
/usr/lib/.build-id
/usr/lib/.build-id/08/43d531c8cd78e97828bc2499dd3a0b4075ca79
/usr/lib/.build-id/0c/bab3bf68489f82bd960010107a0f361869702e
/usr/lib/.build-id/19
/usr/lib/.build-id/19/bbc0b6300351cfd843b5709016447e4e546a8d
/usr/lib/.build-id/25
/usr/lib/.build-id/25/29b33398f5a053e5b81051a9c7162f6cfea398
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/27909b1ae66427fcd064893ccc8e26c432247f
/usr/lib/.build-id/30
/usr/lib/.build-id/30/c3b7679f2443642e1d9f07094ca56955630183
/usr/lib/.build-id/32/91f48a681b7f62e6fa9782da1e8589ca2e3666
/usr/lib/.build-id/3d/acf328b9bab570fb12d1cd79f9477a4485cc54
/usr/lib/.build-id/41/593c754f946c731dda8714073d0624582f12c6
/usr/lib/.build-id/44
/usr/lib/.build-id/44/65438428e2f011a3eeceeab4f272e751e13c43
/usr/lib/.build-id/45/f2f5ab69a90eacc498159fa7a7d8459a36fc4f
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/ad5cd0d76ee7d902d08d35d7bdfcb3f202cffb
/usr/lib/.build-id/72
/usr/lib/.build-id/72/773f5ccb1e5c9b0d6c13d1218f11a10524be29
/usr/lib/.build-id/74/61f221fbf1e3fdd5f3431c75d67a1f7d8349fd
/usr/lib/.build-id/8b/9f3b49971e19a623437f64be16aaa5e2e37385
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/5fab9ac8b321f0c096e43e5dba90367c425e73
/usr/lib/.build-id/8e/e29fc1a5bcde0a3fc2373358a2064a2261a8fb
/usr/lib/.build-id/93/d43f70f018065b39dbbc4822a98f09bfe590cc
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/b9740d21c409c72776e9473259b3e3365704b9
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/66f1eaf7267be57103db3d3f9a1ea3ec5943a3
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/6b0ae0da94fadc227e5581dd096d4235af341c
/usr/lib/.build-id/be
/usr/lib/.build-id/be/a6745487e9fedf39d01e851511719301c8add3
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/61d7a0bae8d0ca9baf750524ff0d591dfb9ce2
/usr/lib/.build-id/d3/8a3d31c02f0c5a79dfc7dba1d8ed55a9be175f
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/f66ee3f894a6da7d942089d0a55eb9db9726d2
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/79af8c5b1326882440bc685c5e2ee30ff7b170
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/6b14c4887d4204d3e0f160a4be6bae0bb03313
/usr/lib/.build-id/fc/c62cf7ff6e4517667e81d52975bb1d9793f728
/usr/sbin/ddns-confgen
/usr/sbin/dnssec-checkds
/usr/sbin/dnssec-coverage
/usr/sbin/dnssec-dsfromkey
/usr/sbin/dnssec-importkey
/usr/sbin/dnssec-keyfromlabel
/usr/sbin/dnssec-keygen
/usr/sbin/dnssec-keymgr
/usr/sbin/dnssec-revoke
/usr/sbin/dnssec-settime
/usr/sbin/dnssec-signzone
/usr/sbin/dnssec-verify
/usr/sbin/genrandom
/usr/sbin/isc-hmac-fixup
/usr/sbin/named-checkzone
/usr/sbin/named-compilezone
/usr/sbin/nsec3hash
/usr/sbin/tsig-keygen
/usr/share/man/man1/arpaname.1.gz
/usr/share/man/man1/delv.1.gz
/usr/share/man/man1/dig.1.gz
/usr/share/man/man1/dnstap-read.1.gz
/usr/share/man/man1/host.1.gz
/usr/share/man/man1/nslookup.1.gz
/usr/share/man/man1/nsupdate.1.gz
/usr/share/man/man8/ddns-confgen.8.gz
/usr/share/man/man8/dnssec-checkds.8.gz
/usr/share/man/man8/dnssec-coverage.8.gz
/usr/share/man/man8/dnssec-dsfromkey.8.gz
/usr/share/man/man8/dnssec-importkey.8.gz
/usr/share/man/man8/dnssec-keyfromlabel.8.gz
/usr/share/man/man8/dnssec-keygen.8.gz
/usr/share/man/man8/dnssec-keymgr.8.gz
/usr/share/man/man8/dnssec-revoke.8.gz
/usr/share/man/man8/dnssec-settime.8.gz
/usr/share/man/man8/dnssec-signzone.8.gz
/usr/share/man/man8/dnssec-verify.8.gz
/usr/share/man/man8/genrandom.8.gz
/usr/share/man/man8/isc-hmac-fixup.8.gz
/usr/share/man/man8/named-checkzone.8.gz
/usr/share/man/man8/named-compilezone.8.gz
/usr/share/man/man8/nsec3hash.8.gz
/usr/share/man/man8/tsig-keygen.8.gz

References

Summary

In this tutorial we learn how to install bind-utils on Rocky Linux 8 using yum and dnf.