1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00

- #51844, checkdnsrr does not support types other than MX

This commit is contained in:
Pierre Joye
2010-05-17 18:55:35 +00:00
parent 059e2be153
commit a22cd02f2f
+1 -1
View File
@@ -122,7 +122,7 @@ PHP_FUNCTION(dns_check_record)
}
}
status = DnsQuery_A(hostname, DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
if (status) {
RETURN_FALSE;