diff -urN src.orig/lookups/dnsdb.c src/lookups/dnsdb.c --- src.orig/lookups/dnsdb.c 2010-05-29 22:23:26.000000000 +0300 +++ src/lookups/dnsdb.c 2010-11-22 19:05:27.000000000 +0200 @@ -36,11 +36,15 @@ "mxh", "ns", "ptr", + "spf", "srv", "txt", "zns" }; +#if !defined(T_SPF) +#define T_SPF 99 +#endif static int type_values[] = { T_A, #if HAVE_IPV6 @@ -55,6 +59,7 @@ T_MXH, /* Private type for "MX hostnames" */ T_NS, T_PTR, + T_SPF, T_SRV, T_TXT, T_ZNS /* Private type for "zone nameservers" */ @@ -319,7 +324,7 @@ if (ptr != 0) yield = string_cat(yield, &size, &ptr, outsep, 1); - if (type == T_TXT) + if ((type == T_TXT) || (type == T_SPF)) { if (outsep2 == NULL) {