How To Install bind-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bind-utils.x86_64 in Amazon Linux 2. bind-utils.x86_64 is Utilities for querying DNS name servers

Introduction

In this tutorial we learn how to install bind-utils.x86_64 on Amazon Linux 2.

What is bind-utils.x86_64

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 to install bind-utils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bind-utils.x86_64.

Install bind-utils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bind-utils.x86_64 using yum by running the following command:

sudo yum -y install bind-utils.x86_64

How To Uninstall bind-utils.x86_64 on Amazon Linux 2

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

sudo yum remove bind-utils.x86_64

bind-utils.x86_64 Package Contents on Amazon Linux 2

/etc/trusted-key.key
/usr/bin/delv
/usr/bin/dig
/usr/bin/host
/usr/bin/mdig
/usr/bin/nslookup
/usr/bin/nsupdate
/usr/share/man/man1/delv.1.gz
/usr/share/man/man1/dig.1.gz
/usr/share/man/man1/host.1.gz
/usr/share/man/man1/mdig.1.gz
/usr/share/man/man1/nslookup.1.gz
/usr/share/man/man1/nsupdate.1.gz

References

Summary

In this tutorial we learn how to install bind-utils.x86_64 on Amazon Linux 2 using yum.