OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: CJ on March 15, 2023, 03:59:16 PM

Title: Custom Unbound Blocklist Naming
Post by: CJ on March 15, 2023, 03:59:16 PM
Now that Unbound reporting shows the blocklist used, can we get a way to add a name to each blocklist?  That way we can have more differentiation than just Custom on the reporting.

Thanks.
Title: Re: Custom Unbound Blocklist Naming
Post by: dumbo on March 16, 2023, 06:45:13 AM
Yes - good idea.

I also only have custom blocklists as the default list is not a good one (for me).

I use and love Hagezi's Blocklists - maintained well and fast https://github.com/hagezi/dns-blocklists

But it's only showing 'custom' at the moment.

Not a big deal at all - but would be nice to have a naming for them.
Title: Re: Custom Unbound Blocklist Naming
Post by: y0y0y0 on March 16, 2023, 07:57:07 PM
which version do you run for adblock?

edit i´m trying to run unbound but did´t seem to work when i used the unbound version
Title: Re: Custom Unbound Blocklist Naming
Post by: CJ on March 17, 2023, 08:08:01 PM
Quote from: y0y0y0 on March 16, 2023, 07:57:07 PM
which version do you run for adblock?

edit i´m trying to run unbound but did´t seem to work when i used the unbound version

You'll have better luck creating your own thread regarding your issue.  You'll also want to include more info as I'm not sure what you're trying to ask.
Title: Re: Custom Unbound Blocklist Naming
Post by: depc80 on March 19, 2023, 03:13:30 PM
Quote from: y0y0y0 on March 16, 2023, 07:57:07 PM
which version do you run for adblock?

edit i´m trying to run unbound but did´t seem to work when i used the unbound version
use the domain format instead, like https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/ultimate.txt .
Title: Re: Custom Unbound Blocklist Naming
Post by: depc80 on March 19, 2023, 03:14:54 PM
Quote from: dumbo on March 16, 2023, 06:45:13 AM
Yes - good idea.

I also only have custom blocklists as the default list is not a good one (for me).

I use and love Hagezi's Blocklists - maintained well and fast https://github.com/hagezi/dns-blocklists

But it's only showing 'custom' at the moment.

Not a big deal at all - but would be nice to have a naming for them.
I use hagezi as well, his whitelist is not bad at all. Wife approved so far.
Title: Re: Custom Unbound Blocklist Naming
Post by: CJ on March 23, 2023, 04:31:46 PM
Quote from: depc80 on March 19, 2023, 03:13:30 PM
Quote from: y0y0y0 on March 16, 2023, 07:57:07 PM
which version do you run for adblock?

edit i´m trying to run unbound but did´t seem to work when i used the unbound version
use the domain format instead, like https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/ultimate.txt .

Domain format?
Title: Re: Custom Unbound Blocklist Naming
Post by: depc80 on March 26, 2023, 02:58:49 PM
Like format in this one for example:
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/domains/doh-vpn-proxy-bypass.txt

I use these lists from Hagezi which are quite wife approval.

https://gitlab.com/hagezi/mirror/-/tree/main/dns-blocklists/domains

Make sure you copy the RAW link, otherwise Unbound won't be able to read it.
Title: Re: Custom Unbound Blocklist Naming
Post by: CJ on March 26, 2023, 04:05:02 PM
Quote from: depc80 on March 26, 2023, 02:58:49 PM
Like format in this one for example:
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/domains/doh-vpn-proxy-bypass.txt

Okay, let me ask this another way.  What is an example of a non domain format?
Title: Re: Custom Unbound Blocklist Naming
Post by: depc80 on March 26, 2023, 11:03:35 PM
Idk, I'm not a networking guy so maybe my wording is wrong. Maybe format like this:

Domain
000space.com


Unbound
local-zone: "000space.com." always_nxdomain

Really, idk. Hagezi typed like that hence I thought it's a type of format, which make sense to me.

Anyway, I found that only the links from Domain/Subdomains can be added to URLs of Blocklists, n the rest are not.