fbpx

Check MX record from command line

Nice command to check MX record from command line:

[code language=”bash”] cat /var/named/yoursite.com.ar.db | grep MX [/code]

And see:

yoursite.com.ar. 14400 IN MX 20 ALT1.ASPMX.L.GOOGLE.COM.
yoursite.com.ar. 14400 IN MX 30 ALT2.ASPMX.L.GOOGLE.COM.
yoursite.com.ar. 14400 IN MX 40 ALT3.ASPMX.L.GOOGLE.COM.
yoursite.com.ar. 14400 IN MX 50 ALT4.ASPMX.L.GOOGLE.COM.
yoursite.com.ar. 14400 IN MX 10 ASPMX.L.GOOGLE.COM.

Don’t Stop Here

More To Explore