How To Install dnsenum on CentOS 7

In this tutorial we learn how to install dnsenum on CentOS 7. dnsenum is A tool to enumerate DNS info about domains

Introduction

In this tutorial we learn how to install dnsenum on CentOS 7.

What is dnsenum

The purpose of this tool is to gather as much information as possible about a domain. The program currently gathers A, NS, MX records, performs axfr queries, gets extra names and subdomains via google scraping, bruteforces subdomains from file, calculate C class domain network ranges and perform whois queries on them, perform reverse lookups on netranges, writes ip-blocks to domain_ips.txt.

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

Install dnsenum on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install dnsenum using yum by running the following command:

sudo yum -y install dnsenum

Install dnsenum on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install dnsenum using dnf by running the following command:

sudo dnf -y install dnsenum

How To Uninstall dnsenum on CentOS 7

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

sudo dnf remove dnsenum

References

Summary

In this tutorial we learn how to install dnsenum on CentOS 7 using yum and dnf.