Categories
How-To Software Technical

Retrieve MX records using nslookup

One of my new kids on the block asked me a question tonight; “Jermal, how do I get the mx record of a domain?”

To retrieve mx record information we need to use a tool called nslookup which is available in Windows and Linux

The quick syntax use is

nslookup [-option] [hostname] [server]

 

Example of its usage

nslookup -type=mx jermsmit.com 8.8.4.4

And what it looks like in

Linux

Windows

 

2 replies on “Retrieve MX records using nslookup”

Leave a Reply

Your email address will not be published. Required fields are marked *