Live Sandbox PHP dns_get_record() Function
PHP dns_get_record() Function
Instructions/Notes

dns_get_record($hostname, DNS_ALL) - This PHP function fetches the DNS resource records associated with the given hostname. By default, this tool will search for all record types with the DNS_ALL parameter.


$hostname: 
Suggested Reading

PHP Cookbook: Solutions & Examples


Amazon Reviewer:
Great help for someone thrown into the fray

(Amazon Affiliate Link)