How to check mx records in command prompt

MX Record is a type of Record in DNS Server that specifies a mail server responsible for accepting email messages on behalf of a recipient’s domain. The set of MX records of a domain name specifies how email should be routed with the Simple Mail Transfer Protocol. if you want to check MX Record through Command Line first go to Command Line then type NSLOOKUP.

C:\Users\Atik Rahman>nslookup
Default Server: google-public-dns-a.google.com
Address: 8.8.8.8

then type set q=mx and press Enter.

and type your domain and find out MX record.

> set q=mx
> google.com
Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
google.com MX preference = 30, mail exchanger = alt2.aspmx.l.google.com
google.com MX preference = 20, mail exchanger = alt1.aspmx.l.google.com
google.com MX preference = 50, mail exchanger = alt4.aspmx.l.google.com
google.com MX preference = 10, mail exchanger = aspmx.l.google.com
google.com MX preference = 40, mail exchanger = alt3.aspmx.l.google.com

 

 

Related posts

Leave a Comment