From e29daf052a288a1e3013331f9fdf77daaba7b76a Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 26 Jun 2007 11:03:42 +0000 Subject: [PATCH] fix #41795 (checkdnsrr does not support DNS_TXT type) --- ext/standard/dns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/standard/dns.c b/ext/standard/dns.c index f99e59e92b..6fce4e2d38 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -276,6 +276,7 @@ PHP_FUNCTION(dns_check_record) else if (!strcasecmp("PTR", rectype)) type = DNS_T_PTR; else if (!strcasecmp("ANY", rectype)) type = DNS_T_ANY; else if (!strcasecmp("SOA", rectype)) type = DNS_T_SOA; + else if (!strcasecmp("TXT", rectype)) type = DNS_T_TXT; else if (!strcasecmp("CNAME", rectype)) type = DNS_T_CNAME; else if (!strcasecmp("AAAA", rectype)) type = DNS_T_AAAA; else if (!strcasecmp("SRV", rectype)) type = DNS_T_SRV; -- 2.40.0