How To Install bind-utils on CentOS 8
Introduction
In this tutorial we learn how to install bind-utils
on CentOS 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 CentOS 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 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 bind-utils
using dnf
by running the following command:
sudo dnf -y install bind-utils
Install bind-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 bind-utils
using yum
by running the following command:
sudo yum -y install bind-utils
How To Uninstall bind-utils on CentOS 8
To uninstall only the bind-utils
package we can use the following command:
sudo dnf remove bind-utils
bind-utils Package Contents on CentOS 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/0c
/usr/lib/.build-id/0c/25761fc6a2dc56534e21310bf657721513d1a9
/usr/lib/.build-id/0c/626de9b0630e4ea1fbdcd8e36ea29fedc3da89
/usr/lib/.build-id/14
/usr/lib/.build-id/14/f5b9a145eb4c371f240f08700350fb89d5c733
/usr/lib/.build-id/19
/usr/lib/.build-id/19/9b255b1ddc3ead5dc776647435a3e9d26ba0dc
/usr/lib/.build-id/2d/bd82dba27e31d6f06cd6cc90aec657ffa29777
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/c9e22f4e067eaa52cbb54a021f5088a9d77d3e
/usr/lib/.build-id/31/0fc1e77ff1b34a8177e1aa509d2bf4f71a5b0c
/usr/lib/.build-id/40/22378ee1af2910fdd90053979a7e3a157032aa
/usr/lib/.build-id/49/6efbea3e1186727e460d6a72d7652d6f147ef3
/usr/lib/.build-id/54/6a768f77bc49fbcd76f7e1618fa4d61caf34e9
/usr/lib/.build-id/54/e040518e22c9755a574f068ca98dc0aac2b89e
/usr/lib/.build-id/56/9c331da2bae6b636c9e1ed141a5b934ec7f664
/usr/lib/.build-id/57/8ed2edd0c3f4a240d13ba897f05d1225341acf
/usr/lib/.build-id/57/9194b15a3a0ab873db53dd0feda199cd658ca5
/usr/lib/.build-id/59/608aff385bae19c2a746f2bab1210dfd377215
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/f1c29676d9a942a350847a1f40ba47d261575d
/usr/lib/.build-id/76
/usr/lib/.build-id/76/4743f2572566a9daddb576458439586a951f50
/usr/lib/.build-id/77
/usr/lib/.build-id/77/793924b947f4f5765ae9d2cf316930f86968f5
/usr/lib/.build-id/81
/usr/lib/.build-id/81/9f26c36f01423d8bd6a58ee7f8f3a6fdf31f92
/usr/lib/.build-id/8b/e5de8bab24bc5cd5bea0681df65d85493f6f62
/usr/lib/.build-id/98
/usr/lib/.build-id/98/962be6f91d5dddfce0dadb5a0819b1c42f6843
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/8d7864f8dbe1b20bb0fd730733d55aeffc9bcd
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/a8dca53f6b926c9139e3d8011f76c37a7df73e
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/09cdf590f5cad639bc131529ec3150cd6ed96b
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/0e5561e1d13143d4f4ae367aafd1452919b92a
/usr/lib/.build-id/df
/usr/lib/.build-id/df/c6d6c5825c3649fd5d3d6dab84fdb2c045d4d7
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/9bc15bb7164d20f7ebac9f9e3db9532de72ced
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/5b5afddaf4f14953de32a7bfc12ee7fd2edb92
/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
/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/1e/6828f91024a94951f929f35dbe973b4dbf5c88
/usr/lib/.build-id/23/dc53a97270d0314a948daa564558a68b52c0fc
/usr/lib/.build-id/24
/usr/lib/.build-id/24/aeb0097a0d6df46dd576998d68a937cbece282
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/4fdf7e82d2331dfe59389f7321b2b008b84f48
/usr/lib/.build-id/35
/usr/lib/.build-id/35/b5f91d2a3c6869e0ec1e6d853fed14a9125a09
/usr/lib/.build-id/48
/usr/lib/.build-id/48/daf5fd0fd3f0c11e4f859e31efc0f1d281b3ec
/usr/lib/.build-id/4f/447e93ae0680aa04a1caba05fa163a79aa1aa8
/usr/lib/.build-id/53
/usr/lib/.build-id/53/da46802207bc7afec0682fb249fe9c218a95ec
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/c360cd752e536c77f8d8356916ba62271185ec
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/2def79c04ca7de570f35270cd2d1c92ba379f4
/usr/lib/.build-id/73
/usr/lib/.build-id/73/167ac8f7a992cb7c0f67b8fd631b35e13dc462
/usr/lib/.build-id/7a/1a0a9bb5421785bbcafbe45e799d5573c85975
/usr/lib/.build-id/7a/c9fe0b65bdadd117c6b09458c83c4b979328a1
/usr/lib/.build-id/84/f2527eea4abe1210d2e2ce2fa1236f3deea0df
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/79b04f90a42803ae87402b3b085dc79fd839e9
/usr/lib/.build-id/91
/usr/lib/.build-id/91/0321da959ae1bf842d4c8853c81d19b95c223b
/usr/lib/.build-id/9e/5b939132bd09c072330b674c33beb2cb6180bf
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/35662508ae97595693b736823797d500d4335c
/usr/lib/.build-id/ab/44c7d5cce560c4299a706919c8c04b844e9fb8
/usr/lib/.build-id/ad/224cf46159086902687e6e7b3a452862a78800
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/ccaf5873741a28864d3f9976e1a8aab0f93803
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/c534d96ccec1c13262e98e2fdf5b92825bae65
/usr/lib/.build-id/cc/872c0082fa9f569e203ce320f17103a4a3fe9a
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/da44bb6fd353e07c9b4638fe803a58fafb3719
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/e783625e4f33d53a209a17224e7ec8969d5165
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/b32f1dd47bb2d062ae63b7459e35b4e839a987
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/056bf3803eb6a2c57d49f210140470faa27ae9
/usr/lib/.build-id/fa/931307a5b03b310bb7bad8020466bd921b3605
/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 CentOS 8 using yum and dnf.