I’ve got Unbound installed and running on a non-53 port so it doesn’t conflict with dnsmasq. Using DNS Proxy mode, I can utilize the server via the GUI without issue (e.g. setting 127.0.0.1#5353 or 192.168.1.1#5353) as the proxy. Enabling a VPN connection, however, breaks it completely.
I’ve tried allowlisting local IP ranges, adding and tweaking firewall rules, changing the DNS settings in the VPN config file, all to no avail. The other custom DNS settings work just fine, it’s only the proxy mode that seems to not play nice with the VPN.
I tested the NETWORK->DNS->Encrypted DNS-> DNS over TLS-> Cloudflare feature, stubby work fine with wireguard VPN, and I think stubby and unbound should be similar.