From a22cd02f2faa6af1a34b3726501042bf345e8933 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 17 May 2010 18:55:35 +0000 Subject: [PATCH] - #51844, checkdnsrr does not support types other than MX --- ext/standard/dns_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index 8c94f27f4b..794912d641 100644 --- a/ext/standard/dns_win32.c +++ b/ext/standard/dns_win32.c @@ -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; -- 2.40.0