Expected Behaviour:
All DNS requests are sent through Pi-hole from Android (v 10) device (Galaxy S9) when only WiFi is enabled on the device.
Actual Behaviour:
The only DNS request (Log 0) to show in pi-hole.log for the device is shown below. Another device on the network (Win10 PC) seems to be interacting well with Pi-hole, i.e. blacklist items are blocked and DNS requests show consistently in the pi-hole.log.
Debug Token:
https://tricorder.pi-hole.net/e3b897yddl
Log 0: from unlocking the device
Sep 16 20:44:33 dnsmasq[11090]: query[A] www.google.com from 192.168.0.11
Sep 16 20:44:33 dnsmasq[11090]: forwarded www.google.com to 8.8.4.4
Sep 16 20:44:33 dnsmasq[11090]: forwarded www.google.com to 8.8.8.8
Sep 16 20:44:33 dnsmasq[11090]: reply www.google.com is 172.217.8.164
I started with troubleshooting IPv6 traffic by checking both boxes in Pi-hole Web > Settings > DNS > IPv6 (Google DNS). This changed Log 0 into Log 1.
Log 1: unlocking the device with IPv6 Google DNS servers enabled
Sep 16 20:46:56 dnsmasq[11389]: query[A] www.google.com from 192.168.0.11
Sep 16 20:46:56 dnsmasq[11389]: forwarded www.google.com to 2001:4860:4860::8844
Sep 16 20:46:56 dnsmasq[11389]: forwarded www.google.com to 2001:4860:4860::8888
Sep 16 20:46:56 dnsmasq[11389]: forwarded www.google.com to 8.8.4.4
Sep 16 20:46:56 dnsmasq[11389]: forwarded www.google.com to 8.8.8.8
Sep 16 20:46:56 dnsmasq[11389]: reply www.google.com is 172.217.4.228
No DNS requests showed up past Log 1 from the device. Repeated unlocks show the cache serving the response. The change has since been reverted since it was a default setting.
Port forwarding on my modem+router (Netgear C3000) was added. External and internal ports were set to 53, the external IP was that of the device, the internal was the Pi's static IP. This caused internet failure on the device, so I will probably not try that again until I know more about what I'm doing. This modem+router does not support firewall scripts.
Using the Pi-hole's DHCP server instead of the router's yielded no change.
Is there something I can do through the Pi-hole web API to force all DNS queries from the device through Pi-hole? If not, where would you suggest I look for device-level settings?