summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-24 18:08:35 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-25 21:58:37 +0100
commit00fa60ae3b2823036cb3e7734f16bce30cb7441d (patch)
tree11c3cfce32ab2efa6e13ea8cfaa3426654cdbac7 /src/resolve/resolved-manager.c
parent0eac462399c8e87bcce252cf058eba9f2678f2bd (diff)
resolved: make sure FallbackDNS= overrides built-in servers, doesn't extend them
Closes #342.
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 5ebf1926be..c3c61a0893 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -476,10 +476,7 @@ int manager_new(Manager **ret) {
m->llmnr_support = SUPPORT_YES;
m->read_resolv_conf = true;
-
- r = manager_parse_dns_server_string_and_warn(m, DNS_SERVER_FALLBACK, DNS_SERVERS);
- if (r < 0)
- return r;
+ m->need_builtin_fallbacks = true;
r = sd_event_default(&m->event);
if (r < 0)