From: Antony Dovgal Date: Tue, 26 Jun 2007 11:03:42 +0000 (+0000) Subject: fix #41795 (checkdnsrr does not support DNS_TXT type) X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~386 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e29daf052a288a1e3013331f9fdf77daaba7b76a;p=php fix #41795 (checkdnsrr does not support DNS_TXT type) --- 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;