how to check domain mx records with nslookup


So I have this client whom recently moved to Google Apps and I wanted to make sure if she has setup her mx records properly for her domain as she complaining about the email issue. Thus I thought it could be useful to post this quick tip here.

Lets get to the job, if you are linux open your Terminal and if you are on Windows launch Command Prompt.

You first need to launch nslookup tool by typing “nslookup”. Then you will need to tell nslookup to look for mx records by giving it “set q=MX” option, and in the end type the domain name you want to be checked.

So an example of the whole process will be :

root@hector [~]# nslookup
> set q=mx

Non-authoritative answer:	mail exchanger = 0


Incoming search terms:

  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1830 cg63Dmke9c6CF_RMh_vuGfd1MpeJzCrWIKuUXE22j0yQTwt4JslmIi89ErSasMIy 54189d9fb1f0b33c35dccb51bb1950dce2341c83&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme

Leave a Reply