@junn0 hi,
If you use the DoT on your router instead of DNSCrypt, there is a very good job to monitor your DNS queries in real time. You can see whether you are using Do53 or DoT, and in both cases whether DNS queries are going through the WAN or through the VPN tunnel. Here is that beautiful work of
@eibgrad:
https://www.snbforums.com/threads/how-to-monitor-dns-traffic-in-real-time.77151/
I used to add the IP address of a DoT server to VPN Director, which I added to the relevant section in the WAN settings, so that all my devices' DNS queries used the DoT address and went through the VPN client of my choice. If you want to try this, add at least 1 Do53 address to the WAN DNS settings or use your ISP's DNS server (so you should have 2 DNS servers at the same time, 1 Do53 and one DoT. This setup will force your devices to use the DoT server). Since you are forwarding the IP address of the NextDNS DoT server to a VPN, when your router restarts, it will be able to do the name resolution it needs through Do53 and then your VPN clients will be up and running. You'll have to excuse me for not being able to explain this like the expert members because I'm just a regular user.
Whatever, But I stopped doing this because I found that I was diverging from the web traffic pattern of other people using my VPN provider, meaning that other VPN users were using my VPN provider's own DNS servers, unlike I was doing. I chose to use my VPN provider's ad-blocking DNS server, even though it wasn't perfect.
If you're using NextDNS to block ads, you might want to consider using your VPN provider's ad-blocking DNS. You mentioned that you use Mullvad VPN, and I see that Mullvad offers a lot of options for its users. If I counted correctly, they have exactly 31 DNS servers!
https://github.com/mullvad/dns-blocklists
Please don't think that I'm sticking my nose in your business or disrespecting your preferences, but if I were you, I'd just put 100.64.0.31 (the DNS that blocks everything) from Mullvad VPN in the DNS address of my Wireguard VPN client and be done with it!