changeset 389:aa9795b407e8

start parsing spf txt records
author Carl Byington <carl@five-ten-sg.com>
date Mon, 06 Mar 2017 16:55:44 -0800
parents 2354a1944e49
children bcef093b1ba6
files src/dnsbl.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Mon Mar 06 16:22:15 2017 -0800
+++ b/src/dnsbl.cpp	Mon Mar 06 16:55:44 2017 -0800
@@ -856,7 +856,7 @@
 #ifdef NS_MAXDNAME
     char question[NS_MAXDNAME];
 #else
-    char question[1000];
+    char question[1025];
 #endif
     glommer glom;
 
@@ -2251,6 +2251,7 @@
                     res_init();
                     _res.retry   = 2;
                     _res.retrans = RES_TIMEOUT;
+                    _res.options |= RES_USE_EDNS0;
 #endif
                     process_resolver_requests(s);
                     exit(0);