PHPresolver is a DNS resolver library written in
pure PHP. It may help you code email address
validity verification under the Win32/BeOS port of
PHP because the current version has no support for
DNS-related functions such as getmxrr() or
checkdnsrr(). In addition, the library partially
supports IPv6 address resolution.