-
Notifications
You must be signed in to change notification settings - Fork 0
mdylanbell/domain_info
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
domain_info.pl is a perl script that shows key WHOIS and DNS information about a given domain name. This utility requires Net::DNS, which you can easily install via: cpan Net::DNS It takes as input a domain name (i.e. example.com) and returns a nicely formatted report of public infromation about the domain: condensed/important WHOIS information, along with DNS information (specifically, the 'A' records or 'CNAME' records for the domain, the www subdomain, and whatever subdomain you optionally specify). Examples: domain_info.pl example.com domain_info.pl store.example.com Both of these examples will show the condensed whois information for 'example.com', along with the following DNS records: A or CNAME record for example.com A or CNAME record for www.example.com MX records for example.com The store.example.com version will also show the 'A' or 'CNAME' record for 'store.example.com'. It also performs a reverse-WHOIS on the returned IP addresses, which will show you the listed owner of the IP address(es). The WHOIS fields which are displayed: * current registrar * expiration date * any 'status' fields * any nameserver records If the WHOIS information is returned in a way that confuses the script, the full output of a 'whois' command is displayed instead of the condensed version. Full output looks like this: $ ./domain_info.pl github.com github.com *** Condensed WHOIS information *** Registrar: GODADDY.COM, INC. Expires: 09-oct-2018 Status: clientDeleteProhibited Status: clientRenewProhibited Status: clientTransferProhibited Status: clientUpdateProhibited Name servers: NS1.P16.DYNECT.NET NS2.P16.DYNECT.NET NS3.P16.DYNECT.NET NS4.P16.DYNECT.NET *** DNS information *** Web: github.com: [A] 207.97.227.239 (Rackspace Hosting) www.github.com: [A] 207.97.227.243 (Rackspace Hosting) Email: 10: ALT2.ASPMX.L.GOOGLE.com: [A] 74.125.93.26 (Google Inc.) 10: ASPMX.L.GOOGLE.com: [A] 74.125.127.26 (Google Inc.) 10: ASPMX2.GOOGLEMAIL.com: [A] 74.125.43.27 (Google Inc.) 10: ASPMX3.GOOGLEMAIL.com: [A] 74.125.127.27 (Google Inc.) 10: ALT1.ASPMX.L.GOOGLE.com: [A] 74.125.159.27 (Google Inc.)
About
Get condensed/important WHOIS and DNS information for a domain name
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published