Sorry for the confusion, didnt have the time.
Nano will create this file. Make sure that the directory /etc/systemd/resolved.conf.d/
is there. Never change the resolved.conf
(and also not the /etc/resolv.conf
which is a link.
This is just a test to see if setting a DNS server works.
Create the file and set the DNS server.
[Resolve]
DNS=1.1.1.1
FallbackDNS=9.9.9.9
those are not privacy friendly but may fix some weird DNS issues with your Internet Service provider or your config.
Did you change anything DNS related?