Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Block Top-Level-Domains with Unbound DNS (.zip domain)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Block Top-Level-Domains with Unbound DNS (.zip domain) (Read 2771 times)
PhoenixRider
Newbie
Posts: 48
Karma: 2
Block Top-Level-Domains with Unbound DNS (.zip domain)
«
on:
June 04, 2023, 02:34:52 pm »
Hi,
the .zip domains are a pretty big risk. With the unbound DNS, blocking this top-level domain should not be so easy.
I don't want to use PiHole or AdGuard. Is it somehow possible with Unbound DNS? Alternatively, can the feature be added accordingly by the development team?
Best regards
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #1 on:
June 04, 2023, 04:51:55 pm »
The unbound implementation might have what you want for this purpose. You could use a blocklist of just that tld or you could try using the domain override.
Logged
PhoenixRider
Newbie
Posts: 48
Karma: 2
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #2 on:
June 04, 2023, 05:07:10 pm »
Hey,
thank you for reply.
How can I block this domain with Unbound DNS? I've already tried ".zip" and ".*.zip" under Blocklist Domain. Unfortunately, this does not work.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #3 on:
June 04, 2023, 05:20:56 pm »
Post here the options and values you used. Someone using it would likely chime in. I use AdguardHome.
Logged
zan
Full Member
Posts: 175
Karma: 31
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #4 on:
June 04, 2023, 05:29:59 pm »
Have a look
https://forum.opnsense.org/index.php?topic=34098.0
Logged
PhoenixRider
Newbie
Posts: 48
Karma: 2
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #5 on:
June 04, 2023, 08:03:03 pm »
Thank you! But unfortunately, these settings do not work either.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #6 on:
June 04, 2023, 08:53:58 pm »
Impossible to advise without more information. "It doesn't work" is not a lot to go on.
Could you please post the values used and where. Also how you are testing would be helpful.
Logged
Stormscape
Newbie
Posts: 12
Karma: 3
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #7 on:
June 05, 2023, 11:04:17 am »
So this is how you do it:
First install the custom options plugin from
Mimugmail's repository,
it's called os-unboundcustom-maxit.
Next, after the plugin is installed, go to Services -> Unbound DNS -> Custom Options and enter the following
Code:
[Select]
server:
local-zone: "zip." always_nxdomain
local-zone: "mov." always_nxdomain
After you do so, restart Unbound and they'll all be blocked. Remember, the custom options window has no validation, so make sure you've typed everything correctly.
Logged
PhoenixRider
Newbie
Posts: 48
Karma: 2
Re: Block Top-Level-Domains with Unbound DNS (.zip domain)
«
Reply #8 on:
June 05, 2023, 03:33:53 pm »
I once made a screenshot. These settings do not work. However, the tip from Stormscape was successful. Thanks for this!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Block Top-Level-Domains with Unbound DNS (.zip domain)