aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-29 11:27:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-29 11:27:40 +0000
commit83628d948ed3c91e620b114b71f3a01fa71c2905 (patch)
tree75c2fc3002520b4479d7e60f5ce46984ece17ad4 /src/libserver/spf.c
parente4d67ae0a12044d8b2598520d9b9c9e696f950d1 (diff)
downloadrspamd-83628d948ed3c91e620b114b71f3a01fa71c2905.tar.gz
rspamd-83628d948ed3c91e620b114b71f3a01fa71c2905.zip
A in SPF presumes AAAA lookup as well
Diffstat (limited to 'src/libserver/spf.c')
-rw-r--r--src/libserver/spf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index da392028b..bbb030f24 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -883,6 +883,12 @@ parse_spf_a (struct spf_record *rec,
if (make_dns_request_task (task,
spf_record_dns_callback, (void *) cb, RDNS_REQUEST_A, host)) {
rec->requests_inflight++;
+
+ if (make_dns_request_task (task,
+ spf_record_dns_callback, (void *) cb, RDNS_REQUEST_AAAA, host)) {
+ rec->requests_inflight++;
+ }
+
return TRUE;
}