summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorDavid Michael <david.michael@coreos.com>2016-08-31 15:34:29 -0700
committerDavid Michael <david.michael@coreos.com>2016-10-07 12:14:38 -0700
commit1ae43295751fc235e7f93719a635a5b06f3ac09b (patch)
tree942693237c80fa428220f0d719e0d7e72eaf4cbe /src/resolve/resolved-manager.c
parent07f264e40a36552a11559ff3fd5e07dbdbfad444 (diff)
resolved: add an option to control the DNS stub listener
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 92ade820ac..40f08e8044 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -501,6 +501,7 @@ int manager_new(Manager **ret) {
m->mdns_support = RESOLVE_SUPPORT_NO;
m->dnssec_mode = DEFAULT_DNSSEC_MODE;
m->enable_cache = true;
+ m->dns_stub_listener_mode = DNS_STUB_LISTENER_UDP;
m->read_resolv_conf = true;
m->need_builtin_fallbacks = true;
m->etc_hosts_last = m->etc_hosts_mtime = USEC_INFINITY;