in php i came accross the function checkdnsrr. optionally, you can enter one of the following dns record types:
A, MX, NS, SOA, PTR, CNAME, AAAA, or ANY. The default is MX.
i have no idea what any of them mean but wanted to use this function to verify e-mail address domains and links in real-time.