This is a demo of the DNS-JS.com Javascript library.

This sample demonstrates how you can use a DNS MX query to check the validity of an email address, beyond simply checking the format using a Regex.