diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-29 11:27:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-29 11:27:40 +0000 |
commit | 83628d948ed3c91e620b114b71f3a01fa71c2905 (patch) | |
tree | 75c2fc3002520b4479d7e60f5ce46984ece17ad4 /src/libserver/spf.c | |
parent | e4d67ae0a12044d8b2598520d9b9c9e696f950d1 (diff) | |
download | rspamd-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.c | 6 |
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; } |