-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Current situation
currently /etc/resolv.conf points to /run/systemd/resolve/resolv.conf which basically merges all DNS entries from all links and configs into 1 file regardless of hierarchy, caching, routing or other settings.
Impact
Routed Domains become inherently unsupported as well as systemd-resolved's caching and other advanced features
Ideal future situation
By using /run/systemd/resolve/stub-resolv.conf you effectively use systemd-resolved's stub resolver which leverages all features including caching and routed domains instead.
Implementation options
ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Additional information
NOTE: Docker/Rkt will need to point to a different resolv.conf (namely /run/systemd/resolve/resolv.conf) as the stubresolver does not exist for containers. This is in accordance to the documentation (systemd+docker).
Metadata
Metadata
Assignees
Labels
Type
Projects
Status