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
The first 2 entries of that come from /etc/systemd/resolved.conf. The last entry comes from the netplan configuration I altered on the machine I got this config from. So both those services get appended to each other.
This raises a few questions:
Would it be good practice to change the symlink? Or leave it at the stub? I'm not sure but my understanding is that 127.0.0.53 is the address that systemd-resolved listens to? So propagating to that nameserver should automatically use the systemd-resolved service and the settings that the playbook here configures, right?
Old systems that upgraded 16.04 -> 18.04 -> 20.04 -> ... will still have the old resolvconf package and the /etc/resolv.conf symlink pointing at that. Should resolvconf be uninstalled? At which point, is there even a symlink? I read resolvconf will be removed completely from repos in ubuntu 24.04, but a lot of people and companies have their reasons for sticking to extended support. Still, systemd-resolved became default in 18.04, which has been 6 years now. In terms of hardening, would it be a good idea to switch 18.04 and newer systems away from resolvconf and towards systemd-resolved?
In terms of netplan, that's broader than just DNS, I don't think disabling only the DNS for that is possible.
The text was updated successfully, but these errors were encountered:
I don't think changing anything related to sytemd-resolved or resolv.conf, more than updating the resolved.conf, will be beneficial. This because it's kind of messy with all the symlinks and dependencies, and removing resolvconf will have consequences (especially if it's an upgraded system relying on resolvconf).
By default, at least on ubuntu,
/etc/resolv.conf
points here:/run/systemd/resolve/stub-resolv.conf
This is a stub, it only contains this:
Whereas there is also this file:
/run/systemd/resolve/resolv.conf
Which actually gets updated with the settings from the
systemd-resolved
conf file, which this project has a playbook for and actually updates:The first 2 entries of that come from
/etc/systemd/resolved.conf
. The last entry comes from thenetplan
configuration I altered on the machine I got this config from. So both those services get appended to each other.This raises a few questions:
127.0.0.53
is the address thatsystemd-resolved
listens to? So propagating to that nameserver should automatically use thesystemd-resolved
service and the settings that the playbook here configures, right?resolvconf
package and the/etc/resolv.conf
symlink pointing at that. Shouldresolvconf
be uninstalled? At which point, is there even a symlink? I readresolvconf
will be removed completely from repos in ubuntu 24.04, but a lot of people and companies have their reasons for sticking to extended support. Still,systemd-resolved
became default in 18.04, which has been 6 years now. In terms of hardening, would it be a good idea to switch 18.04 and newer systems away fromresolvconf
and towardssystemd-resolved
?In terms of netplan, that's broader than just DNS, I don't think disabling only the DNS for that is possible.
The text was updated successfully, but these errors were encountered: