OPNsense Forum

English Forums => General Discussion => Topic started by: Coastal9772 on August 22, 2022, 04:27:29 PM

Title: DNSBL Whitelist help
Post by: Coastal9772 on August 22, 2022, 04:27:29 PM
Hi,
I'm new to to opnsense (coming from pfsense). I've enabled 2 black lists but I want to be able to have a whitelist as well. Is it possible to use regex for the domains?

For example:
(^|\.)mozilla\.org$
Where it will allow root and domains.
Title: Re: DNSBL Whitelist help
Post by: lilsense on August 22, 2022, 05:15:47 PM
I recommend PiHole. :)
Title: Re: DNSBL Whitelist help
Post by: Coastal9772 on August 22, 2022, 05:17:08 PM
Quote from: lilsense on August 22, 2022, 05:15:47 PM
I recommend PiHole. :)
I use it but want to ditch it. I am trying to reduce the amount of devices that I have running.
Title: Re: DNSBL Whitelist help
Post by: Fright on August 22, 2022, 05:17:21 PM
Hi
unbund is implied as i understand ..
QuoteIs it possible to use regex for the domains?
yes
Quote(^|\.)mozilla\.org$
should work imho
Title: Re: DNSBL Whitelist help
Post by: lilsense on August 22, 2022, 10:21:44 PM
Quote from: Coastal9772 on August 22, 2022, 05:17:08 PM
Quote from: lilsense on August 22, 2022, 05:15:47 PM
I recommend PiHole. :)
I use it but want to ditch it. I am trying to reduce the amount of devices that I have running.

Gotcha, you'd like to put all your eggs in one basket. As coastal stated you can use unbound service for this.