I set up nice prioritized routing to WG VPN using this setup.
All is working good with any external DNS resolver (e.g. 1.1.1.1), but my VPN provider's internal DNS IP 10.64.0.1 (to prevent DNS leaks) is not working -> no connectivity. Before implementing prioritized routing, the internal DNS IP has been working.
I will really appreciate advice how to troubleshoot this, the technicalities of routing with netifd is new to me, clueless where to start looking.
For completeness, I should mention I use AGH to set up DNS resolver.
As @vgaetera already said we need to see your network config.
But it could be that you are not routing the DNS server (10.64.0.1) via the WG tunnel.
This is an internal DNS server which only works if routed via the tunnel.
uci -q delete network.dns_wg
uci set network.dns_wg="rule"
uci set network.dns_wg.dest="10.64.0.1/32"
uci set network.dns_wg.lookup="3"
uci set network.dns_wg.priority="30000"
uci commit network
service network restart
Just wondering is this option must be 1 in the setup above? Perhaps, can be simplified and taken out, given that each interface has a separate routing table?