OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: locus on October 05, 2023, 04:33:18 PM

Title: Unbound DNS firewall
Post by: locus on October 05, 2023, 04:33:18 PM
Hi!
Just curious if someone happens to know if blocking with Unbound with the methods below has any advantage over the other (faster or more efficient or anything else):

- RPZ, flexible rules to block and/or passthrough or redirect, but often times two rules, one for hostname, one for domain to hostname (ymo.co.za CNAME . and *.ymo.co.za CNAME . for instance)

- conf file, rules like, local-zone: "000.pe." always_nxdomain

I am just looking for advantages of one or the other.