Dns leak wireguard

Hey, I got OpenWRT up and running on my GL-iNet AX1800 Flint. I like the firmware; it has good many options.

I set up Mullvad VPN with WireGuard. I used the import config option, and I'm now routed over Mullvad, but I was getting a DNS leak.

What are some steps I can take to resolve this?

I have DNS forwarding set to what Mullvad recommends.

Update: I had one interface named WAN and one named WAN6. After adding the DNS to the WAN6 interface under custom DNS, I don’t get leaks anymore. I thought I only needed to enable custom DNS on WAN and not on WAN6 as well.

That is correct but you have to disable/uncheck Use DNS servers advertised by peer otherwise the ISP DNS server is added

yh that what i did i disabled `Use DNS servers advertised by peer on both wan and wan6 i just forgot adding it to wan6 aswell

i followed some guides mullvads guide was a bit outdated they did-dent include the import settings from an existing WireGuard configuration file in there guide