vit has asked for the
wisdom of the Perl Monks concerning the following question:
I will pose my task. I need to be able to determine whether a domain is used for email or not. Many domains have no website, but they could still be used for email only. It is easy to know by just checking the DNS records for an “MX record” which is required to be able to use it for email purposes. However, many DNS operators automatically make an MX record without using it. So the question is, how can we detect that a domain is actually used for email?
I know that something can be done with Net::Nslookup, but I am wondering if there is a straightforward Perl implemented solution.