19 Jun 2008

Using nslookup to check an MX record

I know plenty of admins who use web based DNS searches to check mail exchanger records (MX) - Personally, I don't like them. If you need to quickly check an MX record, then I suggest you use the command prompt. Also with Windows PowerShell on the horizon with Windows Server 2008 it makes a lot more sense to know the code.
  1. Open a Command Prompt
  2. Type nslookup
  3. Set q=mx (This sets the query type to "MX" (Mail Exchanger))
  4. domainname.extension (e.g. blogger.com
I have used blogger.com in the example below.

0 comments: