How to use nslookup to Verify MX record for a domain Posted on October 6, 2013 by Imran Rashid Reading Time: < 1 minute1.At a command prompt type nslookup and press enter 2.Type set q=mx and press enter 3. Type the domain name and press enter 4. Details of MX records will be shown