OPNsense Forum

English Forums => General Discussion => Topic started by: tattoomees on April 22, 2021, 06:09:10 PM

Title: Best way to block manual dns changes on devices
Post by: tattoomees on April 22, 2021, 06:09:10 PM
Hi Is there a way control manually configured dns settings on devices , the adblock home works perfect but if i configure my  laptop to use google dns instead opensense it passes all dns filtering.
Title: Re: Best way to block manual dns changes on devices
Post by: CJ on April 22, 2021, 06:19:23 PM
You have to implement firewall rules to block any DNS requests to servers other than your own.

I talk about it in part two of the blog post I did for DNS security and ad blocking.

https://www.cjross.net/dns-security-and-adblock-with-opnsense-part-2/
Title: Re: Best way to block manual dns changes on devices
Post by: tattoomees on April 22, 2021, 06:38:21 PM
Perfect it works like a charm :)