WordPress Developer & Linux Administrator


Bash script to DNS lookup for cPanel reseller

This bash script will take a given cPanel reseller, find all of its users, fetch all cPanel domains related to the user, and perform a dig DNS lookup on each of the cPanel domain names. By default, it performs a lookup of just an A record, however, you can customize the -t flag to any number of other DNS lookups. Such as: A, TXT, MX, NS, SOA, HINFO, or AXFR.

Continue Reading