Replies: 1 comment
|
The method described here is the best approach, but you can take extra steps to ensure it's blocked completely. If you only have one domain (and all subdomains) to block, edit the main adblock config directly with In RaspAP's DHCP Sever > Advanced tab, select "Only ever query DNS servers configured below" and choose a custom or hosted server (for example, Install the This shows that dnsmasq is blocking correctly by returning If you can still access the domain when connected to the AP, usually this means your client is using a different upstream DNS server. On macOS, running So despite being connected to RaspAP, my laptop will use Google and Cloudflare's DNS until I change this. Many Android devices use "Private DNS" (DNS-over-TLS) which bypasses your local DNS server. Firefox also uses DNS over HTTPS (DoH). Check your DNS settings on each client device. In this example, blocking worked for this domain and subdomains on my phone when connected to RaspAP. DNS leak tests like https://browserleaks.com/dns and https://www.dnsleaktest.com/ will help you troubleshoot this. tl;dr: modern clients actively bypass local DNS; this affects RaspAP (and Pi-hole) users in the same way. |
Uh oh!
There was an error while loading. Please reload this page.
I am trying to block
lightspeedsystems.com(don't ask why) and all of its subdomains. How do I do this?All reactions