Changing DNS server

So agree, first check if the issue is somewhere else. But if you do need or want to change the DNS server (also for privacy reasons, you can do this:

sudo -i
mkdir /etc/systemd/resolved.conf.d
cp /etc/systemd/resolved.conf /etc/systemd/resolved.conf.d/override1.conf
# you should not change the original but create an override like this
nano /etc/systemd/resolved.conf.d/override1.conf

In here you can change the default DNS server to something you want. Privacytools List for encrypted DNS Servers, German PrivacyHandbuch for Europe Servers.


DNS= 2a10:50c0::ad1:ff 2a10:50c0::ad2:ff
FallbackDNS= 2a07:e340::3 2a07:e340::4

Cite from manpage: "A space-separated list of IPv4 and IPv6 addresses to use as system DNS servers. "

Of course you can also try, or the like, but they are not any good for privacy, just for testing.

Manpage for resolved.conf

Know that when using a private DNS captive portals mostly dont work anymore.

Edit: Did this solve the problem?