VPN DNS issues

Seemed to have a conflict w/ IPv6 VPN vs the IPv4 one, first had priority. Then I had an issue where the VPN IP was the same as the IP of my router. Fixed by moving router IP. Learned a lot about how DNS works.

Lookup website using particular DNS

  • nslookup somewebsite.com looks up the website using the provided DNS server.
  • systemd-resolve --status gives the current DNS settings.
  • sudo systemd-resolve --flush-caches flushes the DNS caches.