dns,

Install Nslookup on Amazon Linux 2

Apr 27, 2022 · 1 min read · Post a comment
Install Nslookup on Amazon Linux 2

The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo access

Install Nslookup on Amazon Linux 2

Step 1. Update the EC2 system packages.

sudo yum update

Step 2. Install Nslookup.

sudo yum install bind-utils

Step 3. Verify the installation.

nslookup google.com

Output:

Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	google.com
Address: 142.250.186.174
Name:	google.com
Address: 2a00:1450:4001:82b::200e

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.