On Wed, Sep 30, 2020 at 11:49 pm, Björn Persson Bjorn@xn--rombobjrn-67a.se wrote:
So there's no need to revert any changes to /etc/nsswitch.conf? I've seen some discussion about that file in relation to systemd-resolved. It seemed far from easy to understand how to make it work correctly.
You don't have to touch /etc/nsswitch.conf because it's designed to work with or without systemd-resolved running: resolve [!UNAVAIL=return]. If it's not running it will fall back to nss-myhostname and then nss-dns.
WARNING: Do not make manual changes to /etc/nsswitch.conf! Remember to edit /etc/authselect/user-sswitch.conf instead, then run 'sudo authselect apply-changes'