This Bash script provides a comprehensive look at DNS and selective WHOIS information for a specified domain, focusing on non-sensitive data to comply with privacy regulations.
- HTTP Header Check: Retrieves the HTTP headers of the domain.
- DNS Records Lookup: Includes A, MX, TXT, NS, SOA, CNAME, and ANY records.
- Selective WHOIS Lookup: Fetches non-sensitive WHOIS information such as the registrar, domain status, and name servers.
Ensure dig
, whois
, and curl
are installed on your system.
Provide the domain as a single argument:
./diligence.sh example.com