aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/dns.c')
-rw-r--r--src/libserver/dns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c
index 21a15297c..d2629fd21 100644
--- a/src/libserver/dns.c
+++ b/src/libserver/dns.c
@@ -240,8 +240,9 @@ rspamd_dns_resolv_conf_on_server (struct rdns_resolver *resolver,
{
struct rspamd_dns_resolver *dns_resolver = ud;
- return rspamd_upstreams_add_upstream (dns_resolver->ups,
- name, port, NULL);
+ return rspamd_upstreams_add_upstream (dns_resolver->ups, name, port,
+ RSPAMD_UPSTREAM_PARSE_NAMESERVER,
+ NULL);
}
struct rspamd_dns_resolver *