You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying the systemd.resolved formula on Debian / RedHat nodes results in the /etc/resolv.conf symlink pointing to /run/systemd/resolve/resolv.conf, which forwards DNS queries to external DNS servers instead of the local systemd-resolved service.
Two observations:
While symlinking /etc/resolv.conf to /run/systemd/resolve/resolv.conf is perfectly fine, it would result in systemd-resolved being bypassed by most DNS consumers. Since the systemd-resolved state explicitly configures and enables systemd-resolved, I suppose most people would also expect the state to also promote systemd-resolved as the main DNS resolver on the configured system.
In osfamilymap.yaml, different defaults apply on Arch systems. On such systems, the /etc/resolv.conf symlink will be configured to target /run/systemd/resolve/stub-resolv.conf, which will result in systemd-resolved actually becoming the main DNS resolver.
Shouldn't we:
Use the same defaults (whatever they might be) for all OS families ?
Change the target of /etc/resolv.conf to /run/systemd/resolve/stub-resolv.conf to enable the use of systemd-resolved by default ?
The text was updated successfully, but these errors were encountered:
Hi,
Applying the
systemd.resolved
formula on Debian / RedHat nodes results in the/etc/resolv.conf
symlink pointing to/run/systemd/resolve/resolv.conf
, which forwards DNS queries to external DNS servers instead of the localsystemd-resolved
service.Two observations:
While symlinking
/etc/resolv.conf
to/run/systemd/resolve/resolv.conf
is perfectly fine, it would result insystemd-resolved
being bypassed by most DNS consumers. Since thesystemd-resolved
state explicitly configures and enables systemd-resolved, I suppose most people would also expect the state to also promote systemd-resolved as the main DNS resolver on the configured system.In
osfamilymap.yaml
, different defaults apply on Arch systems. On such systems, the/etc/resolv.conf
symlink will be configured to target/run/systemd/resolve/stub-resolv.conf
, which will result in systemd-resolved actually becoming the main DNS resolver.Shouldn't we:
Use the same defaults (whatever they might be) for all OS families ?
Change the target of
/etc/resolv.conf
to/run/systemd/resolve/stub-resolv.conf
to enable the use of systemd-resolved by default ?The text was updated successfully, but these errors were encountered: