thelonelycoder
Part of the Furniture
Per the Dnsmasq Man page:Hi, cross-posting from another thread as it is relevant to Diversion and can help other users.
In the page https://diversion.ch/faq-reader/diversion-is-installed-and-i-still-see-ads.html it is mentioned
Newer Android Devices use hard coded IP addresses for some domains. This circumvents Dnsmasq and with it Diversion.
To force all devices to resolve through your router, set Enable DNS-based Filtering to ON in LAN / DNSFilter on the router WebUI. Then select Router as the Global Filter Mode.
I have done that but didn't work for my Oneplus 6t. Having searched further, I have found this thread:
OnePlus Community
Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.forums.oneplus.com
The advice is basically to force the DNS from the router. I have tested it and it works.
Do you see any issue if I hard code my router IP as primary and secondary DNS in LAN --> DHCP Server --> DNS and WINS Server Setting?
Thank you!
This is also shown as a hint when hovering over the DNS Server 1 and 2 fields.By default, dnsmasq sends some standard options to DHCP clients, the netmask and broadcast address are set to the same as the host running dnsmasq, and the DNS server and default route are set to the address of the machine running dnsmasq.
One would expect this to work as is. But it looks like some devices just need some more enforcing than the workaround that I posted on the Diversion website.
It seems to be a matter of the time that apps and devices may come with hard coded ways to resolve things. That was not the case years ago.
Let me know how setting DNS Server 1 and DNS Server 2 to the routers IP works after a while. I've set them on my main router too to see for myself.