diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-18 16:13:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-18 16:13:24 +0100 |
commit | 4435b4ec2d40fb2193752fead5fee7bc093a2e10 (patch) | |
tree | c14e41afb3160b1802c434dd4bd40e948d65740d /contrib/librdns/resolver.c | |
parent | af18850cf0ab37405e586d655109b0dc84dcc8a1 (diff) | |
download | rspamd-4435b4ec2d40fb2193752fead5fee7bc093a2e10.tar.gz rspamd-4435b4ec2d40fb2193752fead5fee7bc093a2e10.zip |
[Fix] Make dnssec configurable option disabled by default for now
Diffstat (limited to 'contrib/librdns/resolver.c')
-rw-r--r-- | contrib/librdns/resolver.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/librdns/resolver.c b/contrib/librdns/resolver.c index 20700ee3b..70e226804 100644 --- a/contrib/librdns/resolver.c +++ b/contrib/librdns/resolver.c @@ -853,3 +853,11 @@ rdns_resolver_async_bind (struct rdns_resolver *resolver, resolver->async_binded = true; } } + +void +rdns_resolver_set_dnssec (struct rdns_resolver *resolver, bool enabled) +{ + if (resolver) { + resolver->enable_dnssec = enabled; + } +} |