Quick little way to find the mail server for any known domain.

Shamelessly thieved from here.  Davak did a really good job in writing this up.  Carried this around in my wallet for the last couple of years.

People are often curious what the mail server is for a given domain. Here’s a quick way to find out…

    • 1. Click


    • 2. Click


    • 3. Type


    • in the textbox and hit enter


    • 4. In the command line type


    • 5. Enter

set type = mx

    • 6. Enter the name of the domain you want to look up


    • 7. When you are done type


Here’s an example looking up Microsoft’s mail server. You can see that microsoft’s mail servers are named maila, mailb, and mailc.*

C:\Documents and Settings\Tech-Recipes>nslookup
*** Can't find server name for address Non-existent domain
*** Default servers are not available
Default Server: UnKnown

> set type=mx
> microsoft.com
Server: UnKnown

Non-authoritative answer:
microsoft.com MX preference = 10, mail exchanger = maila.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailb.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailc.microsoft.com

* – back in the day, circa 2004, Microsoft’s mail servers were called maila / mailb / mailc .  Not anymore.