Need help with internal DNS

The original post: /r/mullvadvpn by /u/AnOriginalName2021 on 2024-08-17 19:39:04.

I am using 10..1.1.X to 10.1.7.x for my internal network. Mullvad is also using a 10.x.xx network but there is no conflict. I am using Opnsense as my router at 10.1.1.2 and have Unbound as my DNS server.

With Mullvad active it does not query my local DNS server at 10.1.1.2 as expected but I am then unable to resolve my internal devices. If I go into the Mulvad settings and add 10.1.1.2 as a DNS server the leak test is failing because it is then forwarding to Cloudflared.

How can I still use a local DNS server for my network but have everything else go through Mulvad?