Dnsenum
Dnsenum is a multi-threaded perl script to enumerate DNS information of a domain and to discover non-contiguous IP blocks. The main purpose of Dnsenum is to gather as much information as possible about a domain.

It can help you to gather the following information.
* Get the host’s addresses (A record). * Get the namservers (threaded). * Get the MX record (threaded). * Perform axfr queries on nameservers and get BIND versions(threaded). * Get extra names and subdomains via google scraping (google query = “allinurl: \-www site:domain”). * Brute force subdomains from file, can also perform recursion on subdomain that have NS records (all threaded). * Calculate C class domain network ranges and perform whois queries on them (threaded). * Perform reverse lookups on netranges (C class or/and whois netranges) (threaded). * Write to domain_ips.txt file ip-blocks.
You can see how dnsenum works, when I tried it on discord.com

dnsenum-tutorial-dns-information-gathering-tool-kyb-tutorial-2