[SOLVED] Local DNS not working over Wireguard

I’m new to RouterOS/mikrotik, but I have some experience with networking and Linux.

I set up Wireguard on my hAP ax3 and my phone connects to it without issues. I want to be able to use my local DNS (a pi hole), but it doesn’t work:

  • when I set the pihole’s IP address as dns server nothing resolves on the phone
  • when I set 8.8.8.8 as the DNS server on the phone’s wireguard config, everything works

The problem is that I want to be able to use my DNS because I also have local records for local hosts that I want to connect to.

Do I need to have a firewall rule? Is there anything I’m missing?

Hard to say without seeing the config, what needs to be done.
Also the settings on the phone

/export file=anynameyouwish ( minus router serial number, any public WANIP information,keys etc. )

Sorry for the very late reply. Life happens.

It was a classical PEBKAC problem… although it was more of a PEBHAP (problem exists between hands and phone) - I had my android phone set to “Use custom DNS” -when I disabled that it went straight to my DNS.

Thanks for letting us know!! Good info for future use!!