I'm blocking content on specific clients by setting DNS Director to "Router" & using Diversion filters. Some apps on these devices are hardcoded to use Google DNS. I'm trying to determine if the following is the best way to prevent these devices from using DNS to bypass my router's DNS & content blocking.
1. to prevent DoH bypass, adding a DoH filter to diversion, such as: Hagezi DNS blocklists encrypted-dns-servers-only
I tested this DoH filter & others on MacOS, they stop browser level DoH used by Firefox or Brave, but do not stop native MacOS DoH profiles or apps from bypassing my router's DNS. Is this because https can't be blocked here or some other reason?
2. to prevent DoT & GoogleDNS bypass, using these Firewall-NSF rules:
These seem to work even on preventing DNS bypass by MacOS DoH and DoT profiles and apps.
If the above settings fail, use static routing of 8.8.8.8 & 8.8.4.4 to go scorched earth on GoogleDNS
see: Unlocator how-to-block-google-dns-on-asus-router
see also: Control D tutorials/roku
Static routing definitely works but seems like overkill as it blocks all GoogleDNS system-wide.
This setup seems to work for now but I don't know if it is optimal for blocking content on the clients while avoiding breakage or other issues. If I overlooked something or it can be improved I would greatly appreciate any insights. Thank you.
1. to prevent DoH bypass, adding a DoH filter to diversion, such as: Hagezi DNS blocklists encrypted-dns-servers-only
I tested this DoH filter & others on MacOS, they stop browser level DoH used by Firefox or Brave, but do not stop native MacOS DoH profiles or apps from bypassing my router's DNS. Is this because https can't be blocked here or some other reason?
2. to prevent DoT & GoogleDNS bypass, using these Firewall-NSF rules:
These seem to work even on preventing DNS bypass by MacOS DoH and DoT profiles and apps.
If the above settings fail, use static routing of 8.8.8.8 & 8.8.4.4 to go scorched earth on GoogleDNS
see: Unlocator how-to-block-google-dns-on-asus-router
see also: Control D tutorials/roku
Static routing definitely works but seems like overkill as it blocks all GoogleDNS system-wide.
This setup seems to work for now but I don't know if it is optimal for blocking content on the clients while avoiding breakage or other issues. If I overlooked something or it can be improved I would greatly appreciate any insights. Thank you.