Revisiting resolver on ubuntu linux.

ProtonVPN foibles: ALWAYS remove old protonvpn completely before installing.


systemd-resolve –status

tells you what DNS servers will be used to overwrite /etc/resolv.conf by systemd.


In /etc/systemd/resolved.conf set the following just after the [resolve] keyword:

DNS=1.1.1.1,8.8.8.8,74.40.74.40,74.40.74.41,208.67.222.222,208.67.220.220
FallbackDNS=8.8.4.4


/etc/resolvconf/resolv.conf.d/tail maybe should contain:
 nameserver 8.8.8.8,1.1.1.1

What does this latter do? It seems to concatenate the line after whatever is written into /etc/resolv.conf. I dont know if that makes any difference. It should be BEFORE the line
nameserver 127.0.0.53
if it is to have any effect in giving search precedence over the 127.0.0.53.

One thought on “Revisiting resolver on ubuntu linux.

  1. As far as I can tell the list in the file /etc/resolv.conf is *not* the actual DNS addresses used by the resolver. The addresses set by protonvpn are used. Perhaps the DNS addresses in /etc/resov.conf are passed to the VPN node and then DNS packets are routed to them? I’m not sure.

Facebook friends may comment