WireGuard / android-wireguard-module-builder

Builder for WireGuard module for various Android kernels
https://www.wireguard.com/
64 stars 7 forks source link

Kernel module backend on Android 10 ignores custom DNS #4

Open xinseo opened 4 years ago

xinseo commented 4 years ago

I have a wireguard+pihole setup on a VPS.

When using the official Wireguard app on Android 10 with kernel module backend (I have a custom kernel on my phone), Wireguard ignores the DNS that I set (pihole) and routes DNS through my phone LTE carrier/home internet DNS. Some queries do still go through pihole but only a few.

When using Userspace backend, the same config works perfectly fine. All DNS queries are routed properly through Pihole. Anyone noticed this?

Checked on the latest 1.0.20200520 kernel module backend

toconquer commented 6 months ago

I'm seeing this same issue. Userspace works, kernel module doesn't. Testing by running adblock tests online. Kernel module, 3% blocked (not using custom DNS for pihole.)