Created
July 18, 2017 04:13
-
-
Save nodesocket/29c7e30dff4658f3b0d342a4a5d6e525 to your computer and use it in GitHub Desktop.
Get e-mail provider for a domain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get mx records for a domain | |
iMac ➜ ~ host -t MX elasticbyte.net | |
elasticbyte.net mail is handled by 1 aspmx.l.google.com. | |
elasticbyte.net mail is handled by 10 aspmx2.googlemail.com. | |
elasticbyte.net mail is handled by 10 aspmx3.googlemail.com. | |
elasticbyte.net mail is handled by 5 alt1.aspmx.l.google.com. | |
elasticbyte.net mail is handled by 5 alt2.aspmx.l.google.com. | |
# lookup ip of the first mx record | |
iMac ➜ ~ dig +short aspmx.l.google.com | |
74.125.28.26 | |
# query ASN information for that ip | |
iMac ➜ ~ whois -h whois.cymru.com " -v 74.125.28.26" | |
AS | IP | BGP Prefix | CC | Registry | Allocated | AS Name | |
15169 | 74.125.28.26 | 74.125.28.0/24 | US | arin | 2007-03-13 | GOOGLE - Google Inc., US | |
#### | |
# GOOGLE - Google Inc., US | |
#### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment