diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-23 12:05:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-09-23 12:05:36 +0100 |
commit | e4fcd0fcda0d192b068dc28eb317e09dc0eb3a12 (patch) | |
tree | 2c8db056f1cb0abd24299a1fb900527727e4a4fa /src/libserver/dns.c | |
parent | 9029b54e9f2a3173391e630c8cff5758f2d56321 (diff) | |
download | rspamd-e4fcd0fcda0d192b068dc28eb317e09dc0eb3a12.tar.gz rspamd-e4fcd0fcda0d192b068dc28eb317e09dc0eb3a12.zip |
[Minor] Allow to skip IDN checks in rdns
Diffstat (limited to 'src/libserver/dns.c')
-rw-r--r-- | src/libserver/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c index cbbed4aa8..e5ec9d729 100644 --- a/src/libserver/dns.c +++ b/src/libserver/dns.c @@ -884,7 +884,8 @@ rspamd_dns_resolver_init (rspamd_logger_t *logger, dns_resolver->max_retransmits = 2; } - dns_resolver->r = rdns_resolver_new (); + /* IDN translation is performed in Rspamd now */ + dns_resolver->r = rdns_resolver_new (RDNS_RESOLVER_NOIDN); UErrorCode uc_err = U_ZERO_ERROR; |