Help with DNS issues - WireGuard + PBR

DNS is provided by my VPN (WireGuard) through their tunnel

i need to bypass the tunnel for a given domain

the problem is that, when i set up a Policy Based Routing policy, i lose DNS and therefore cannot resolve domain names

what do i need to do to solve this?

the post Wireguard policy based routing DNS requests is very similar to my problem, however when i followed what they did, DNS does in fact leak (

OpenWRT v19* with vpn-policy-routing & luci-app-vpn-policy-routing
Linux PC with network DNS provider set to the router IP

Disable peer DNS and configure a public DNS provider for the local system:

Enable DNS forwarding and activate split DNS to avoid race conditions:

Set up DNS hijacking to prevent DNS leaks: