dns_get_record

 array dns_get_record ( string $hostname [, int $type = DNS_ANY [, array &$authns [, array &$addtl ]]] ) 

説明

Fetch DNS Resource Records associated with the given hostname.

戻り値

This function returns an array of associative arrays, or FALSE on failure. Each associative array contains at minimum the following keys: Basic DNS attributes Attribute Meaning