DNS not working at Wireguard server on AX72 [SOLVED]
Hello All,
My home network looks like this:
ISP router -> AX72 (internet connection details were took by ISP router DHCP) & PiHole with DNS and DHCP server. All LAN devices have broadcasted settings that gateway points to AX72, but DNS pointing to PiHole Device. All is working properly.
I've configured WireGuard on AX72 and profile was imported to Android device. Android device can connect successfully to AX72 from LAN and from internet (port was forwarded from ISP router to AX72) via Wireguard. Devices inside the network are visible from Android device and also see Android device (ping). Wireguard was configured at suggested settings (IP range). During Wireguard's configuration i was able to enable or Disable DNS. I wanna use my PiHole's DNS, so i enabled DNS at Wireguard. Unfortunately Android device can't solve the domain names :( I've tried to point DNS to PiHole device (it's pingable), but without luck. Also tried to use suggested DNS entry during Wireguard's configuration also without luck :( I'm able to ping internet's IP's like 8.8.8.8 from Android Device.
Client Access is set to Internet and Home Network at Wireguard server on AX72.
Could anyone help with that issue?
This is my Wireguard config for Android device:
[Interface]
PrivateKey = :):):)
Address = 10.5.5.2/32
DNS = 10.5.5.1
[Peer]
PublicKey = :):):)
PresharedKey = :):):)
AllowedIPs = 0.0.0.0/1,128.0.0.0/1
Endpoint = 192.168.0.202:51820 <=> This is IP of AX72 WAN's interface, used to connect from inside network. For connecting outside the home network here is used IP from ISP.
PersistentKeepalive = 25