checkdnsrr

 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.