Before I go and cobble together a bunch of scripts to drive dnsmasq and try to figure out how to tie them into NetworkManager: How are other people nicely handling access to home network resources and company resources both of which are via private DNS servers?
2
1
Replying to @revdenoodles
I have `dns=dnsmasq` in my NetworkManager.conf and then add requisite search domains to the VPN config IPv4 page.

May 20, 2020 ยท 8:34 AM UTC

1
1
Replying to @dsilverstone
Ta. That looks like it's exactly what I want, but not obvious from the GNOME3 NM configuration dialog, and nm-connection-editor seems to have slightly different details. I shall have a poke later.
1
1
Adding "dns=dnsmasq" to the [main] section in NetworkManager.conf and adding the search domains to the VPN connection via nm-connection-editor has done exactly what I want. 2nd step wouldn't have been needed if my VPN provided the search domains (not possible with PPP AFAICT).
1
1