This is a new account trying out web filtering for my family. I set up the DNS IP 172.64.36.1 and 172.64.36.1 on my router I also tested setting the PC with the DNS directly as well and do not see anything in the logs and nothing is getting filtered.
I even tested the following tool to check my DNS server and this is the results…
“162.158.76.171 Cloudflare Ashburn, United States”
I have a similar setup, but always double-check from the device itself what DNS settings it’s using. On my Apple devices, the network info shows the DNS IP addresses I’ve set at the router.
You also need to make sure that the “Location” IP address at Teams Gateway is correct. For testing, you may want to add a Policy that’s active for that location. Have that policy block an easily testable domain.
I’ve not found a way. I usually make API calls for such settings, but I don’t know if Teams Gateway uses the API. Teams Access does, so that’s a bit of a mystery. Maybe another @MVP knows if Gateway supports API calls.