ID: 42215 Updated by: [EMAIL PROTECTED] -Summary: dns_get_record not defined Reported By: developer-support at allknightaccess dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Mac OS 10.4.10, Apache 2.2.4 PHP Version: 5.2.4RC1 New Comment:
Duplicate of #42123: http://bugs.php.net/bug.php?id=42123 Previous Comments: ------------------------------------------------------------------------ [2007-08-06 19:04:24] [EMAIL PROTECTED] Reclassified. This function is not available on *BSD systems. And IIRC, MacOSX is based on *BSD. Docs need to mention it though.. ------------------------------------------------------------------------ [2007-08-06 02:43:45] developer-support at allknightaccess dot com Description: ------------ The function dns_get_record is not being defined on Mac OS 10.4.10. Reproduce code: --------------- <?php $result = dns_get_record("php.net"); print_r($result); ?> Expected result: ---------------- Array ( [0] => Array ( [host] => php.net [type] => MX [pri] => 5 [target] => pair2.php.net [class] => IN [ttl] => 6765 ) [1] => Array ( [host] => php.net [type] => A [ip] => 64.246.30.37 [class] => IN [ttl] => 8125 ) ) Actual result: -------------- Fatal error: Call to undefined function dns_get_record() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42215&edit=1