bool checkdnsrr ( string $host [, string $type = "MX" ] )
Searches DNS for records of type type corresponding to host.
Returns TRUE if any records are found; returns FALSE if no records were found or if an error occurred.