Unable to connect to the Internet

What happens in Windows stays in Windows.

When you connect using your NordVPN account the resolver will change - and when you disconnect the resolver will be reset to your router.

If you want your system to use other nameservers than your ISP provided (through the router) you will have to create a drop-in config for the resolver to use. Just like it is possible to change the fallback servers.


sudo mkdir -p /etc/systemd/resolved.conf.d
sudo touch /etc/systemd/resolved.conf.d/dns_servers.conf

Then edit the file (eg. using the micro or nano editor) and insert the following content - adjust as necessary

DNS=nameserver_ip_1 nameserver_ip_2

Read more in the Arch Wiki systemd-resolved - ArchWiki

I was mistakenly looking at DHCP in my router.

I know this is beyond the scope of the original question, but maybe helpful for others… I created the conf using OpenDNS IP Addresses:


Then I cleared the browser cache and flushed DNS cache using:

$ sudo systemd-resolve --flush-caches
$ sudo resolvectl flush-caches

After reboot:

[mike@mbbrady ~]$ resolvectl status
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: stub
  Current DNS Server:
         DNS Servers:
Fallback DNS Servers:
                      2620:fe::9#dns.quad9.net 2001:4860:4860::8888#dns.google
          DNS Domain: ~.

Link 2 (enp34s0)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server:
       DNS Servers: 2600:4040:2017:6c00::1
        DNS Domain: myfiosgateway.com

I used:

instead of:

ups - sorry - typo - I meant -p :man_facepalming:

Apart from assigning a static IP/24 or changing your routers DNS configuration to use specific servers - there is no way of avoiding the DHCP assigned DNS from the router.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.