checkdnsrr

Example

 bool checkdnsrr ( string $host [, string $type = "MX" ] ) 

Description

Searches DNS for records of type type corresponding to host.

Return Values

Returns TRUE if any records are found; returns FALSE if no records were found or if an error occurred.