Lookup mailservers with nslookup

10 Mar

Another one that it seems everyone isn’t aware of. “How do you find out which mail servers a domain is using?”

c:\>nslookup

>set type=mx

>domain.com

It will return all the mail servers associated with that domain and their preference, a bit like this: