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
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
[mike@mbbrady ~]$ resolvectl status
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Current DNS Server: 126.96.36.199
DNS Servers: 188.8.131.52 184.108.40.206
Fallback DNS Servers: 220.127.116.11#dns.quad9.net 18.104.22.168#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: 192.168.1.1
DNS Servers: 192.168.1.1 2600:4040:2017:6c00::1
DNS Domain: myfiosgateway.com
ups - sorry - typo - I meant -p
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.