You are not logged in.
I have NetworkManager setup to use dnsmasq for DNS caching and split DNS. This works fine when I want to use split DNS when I VPN into my home connection, so DNS queries for my home domain go to my home DNS and everything else goes to the internet.
However when I uncheck the box for "Use this connection only for resources on its network", so I can route all my traffic over the VPN, the routes will work fine but NetworkManager will still configure dnsmasq to use the original DNS from my wifi or wired connection for all DNS queries except those on my home network. This doesn't work because the DNS addresses on my wifi or wired connection are private and not accessible when routing all traffic over the VPN. I have verified this by examining the dnsmasq.conf NetworkManager uses.
Before VPN
server=168.159.216.74
server=128.221.224.144
After VPN connection
server=/home/192.168.2.1
server=/10.in-addr.arpa/192.168.2.1
server=/2.168.192.in-addr.arpa/192.168.2.1
server=168.159.216.74
server=128.221.224.144
I know that the routes are working because I can ping addresses both on my home network and on the internet, and tracepath shows them going through my VPN.
Offline