DNS Connectivity Issues in OPNsense
Hello fellow humans.
In OPNsense, I have a Windscribe VPN connection configured using Wireguard that routes all of my internet traffic through a Windscribe tunnel. The VPN tunnel itself works very well, but I'm having connectivity issues when trying to use the Windscribe DNS server that Windscribe provides.
For some reason, on random occasions, I just suddenly won't be able to connect to the Windscribe DNS server anymore. I do a DNS leak test, and it shows me I'm using my ISP-provided DNS instead. If I go into OPNsense when this happens, I can also see that my Windscribe "gateway" is "offline" (even though it's not) simply because it can't access the DNS server.
To fix the issue, I need to go into the "Unbound DNS" -> "Query Forwarding", disable the Windscribe DNS, enable some other DNS service (like Quad9), then enable the Windscribe DNS (only *then* will it actually connect to this DNS server), then disable the other DNS service, and suddenly, when I do a DNS leak test, it says I'm using the Windscribe VPN DNS server.
Under "System" -> "General", I don't have any DNS servers specified here, and I have the WAN override disabled. The DNS server is properly configured in my Wireguard VPN instance/peer, and the firewall isn't blocking the connection (I checked the logs). Under "Unbound DNS" -> "Query Forwarding", I only have two DNS servers enabled (my local domain which forwards to Dnsmasq DHCP, and the Windscribe DNS).
Basically just wondering if anyone else has had any issues like this using the Windscribe DNS server for the VPN?