Bug 79447

Summary: systemd-resolved: filter duplicate name servers
Product: systemd Reporter: o590694
Component: generalAssignee: systemd-bugs
Status: RESOLVED INVALID QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description o590694 2014-05-30 09:30:51 UTC
My machine is, at times, connect both by a wired and a wireless connection to the same network. The result is that the name servers are duplicated in /run/systemd/network/resolv.conf:

nameserver 1.1.1.1
nameserver 2.2.2.2
domain example.com
nameserver 1.1.1.1
# Too many DNS servers configured, the following entries will be ignored
nameserver 2.2.2.2

It would be nice if duplicate items would be filtered out, wouldn't it?
Comment 1 o590694 2014-05-30 09:37:36 UTC
never mind... no more duplicates with systemd 213.

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.