Outlook
nslookup -type=mx https://outlook.live.com
The mx
in the -type=mx
flag stands for Mail Exchanger record, which essentially means the SMTP server.
There is a lot more that nslookup
can be used for. Here’s the manpage for nslookup
if you want to learn more.
Ignore what authoritative and non-authoritative mean for now. You’ll understand them when we get to DNS.
Try any other domain of your choice! Here are a couple of very popular ones.
Gmail
nslookup -type=mx gmail.com
In this case, one of the SMTP servers for Gmail is alt1.gmail-smtp-in.l.google.com
.
Yahoo!
nslookup -type=mx mail.yahoo.com
Let’s study pull protocols like POP and IMAP in some detail in the next lesson.
Get hands-on with 1400+ tech skills courses.