Bug 90216 - resolved: 219 adds extra dns servers even when FallbackDNS is non empty
Summary: resolved: 219 adds extra dns servers even when FallbackDNS is non empty
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-28 13:31 UTC by Henri Derycke
Modified: 2017-10-27 18:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Henri Derycke 2015-04-28 13:31:21 UTC
When FallbackDNS is not empty in resolved.conf, resolved still adds defaults fallback dns (8.8.8.8…) to resolv.conf.

For example :

// resolved.conf
[Resolve]
FallbackDNS=80.67.169.12 2001:910:800::12
-----
// resolv.conf
nameserver 2001:4860:4860::8888
nameserver 8.8.4.4
nameserver 2001:910:800::12
# Too many DNS servers configured, the following entries may be ignored.
nameserver 80.67.169.12
nameserver 8.8.8.8
nameserver 2001:4860:4860::8844
-----

Since the man say “FallbackDNS= […] If this option is not given, a compiled-in list of DNS servers is used instead.” I assume that if FallbackDNS is not empty, the compile-in list is not used.
Comment 1 Lennart Poettering 2017-10-27 18:05:07 UTC
This has been fixed a while back, and should work correctly in v235. Please update.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.