For previous versions I had to `chattr +x` as well because systemd stuff of course will not let me have my resolver.
`nameserver 1.1.1.1` is insane. Hope you don't ever have to use link-specific resolver.
Congratulation to breaking your system.
Ah. It might be a systemd-resolved.socket (or similarly named), allow socket activation. Systemd would warn you when you disable the service that it wouldn't be giving up the socket, that it could still be restarted. Because it's a great monorepo that's smart & courteous.
`systemctl status ssh` shows, that it is socket-activated:
TriggeredBy: ● ssh.socket
[Oh, checking the entire thread for context; never mind]You would know to run netstat or lsof if you have expected something like that to happen. It certainly wouldn't ever cross my mind to have sshd socket-activated and systemd actively trying to hide the fact. This change by Canonical was out of the blue, totally unexpected.
Why am I forced into nothing but link specific resolvers?
Why cant I have a global default resolver anymore, with link specific as needed?
You can have default one. Chances are, if you have only one configured, it will be default. How are you forced? Who did that? How?
Oth, with resolv.conf syntax, link-specific resolvers are impossible. Even the apple-like extension in /etc/resolver, they cannot respond to link doing up and down.
Can you tell me how to have a default global resolver with resolvd and network manager?
Should be pretty straightforward right?
It's a pretty basic task.
I looked all through the Man pages and couldn't find a way to do it with network manager.
Then `resolvectl status` will show you each link, what DNS is configured for it, what domains it will resolve and which one is the default.
If you really don't want it, it's super easy to disable: