How to use nslookup command to check email domains in fedora Linux?
I used the following command in terminal:
nslookup -query=mx com3263@dcs.ruh.ac.lk
This is not working for me. What’s the correct command?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can query for the domain part, not the full email address.
For programmatic use,
dig +shortor some versions ofhosthave better, machine-readable output thannslookup.Not all domains supply an explicit MX record; fall back to the A record in that case (i.e. attempt to connect directly to the host).