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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user