OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • DNSBL and additional features Plugin for Unbound
« previous next »
  • Print
Pages: 1 2 [3] 4 5

Author Topic: DNSBL and additional features Plugin for Unbound  (Read 25844 times)

mimugmail

  • Hero Member
  • *****
  • Posts: 6296
  • Karma: 433
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #30 on: April 09, 2020, 05:54:15 pm »
I'll start with DoT next week
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Mr.Goodcat

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 7
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #31 on: April 14, 2020, 11:35:15 am »
Thank you for your efforts! Is DoH also on the roadmap?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6296
  • Karma: 433
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #32 on: April 14, 2020, 12:23:05 pm »
I thought DoH is not available in Unbound?
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Mr.Goodcat

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 7
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #33 on: April 14, 2020, 12:39:06 pm »
Quote from: mimugmail on April 14, 2020, 12:23:05 pm
I thought DoH is not available in Unbound?

Well, that answers my question :-[
Logged

brinm00

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #34 on: April 14, 2020, 05:51:26 pm »
I'm just starting to 'play' with this extra Unbound plugin. I had a question though: would it be possible to test the DNSBL on just one of the interfaces. Now it seems like it is a global option. I would like to try/test some new features on just one of the VLAN's I have on my Opnsense fw. Thanks for looking into this...
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6296
  • Karma: 433
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #35 on: April 14, 2020, 07:37:01 pm »
No, sorry, it's only a global option
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

brinm00

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #36 on: April 15, 2020, 04:21:52 pm »
Do you of any plans to make it available on only a subset of the interfaces ?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6296
  • Karma: 433
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #37 on: April 15, 2020, 06:52:12 pm »
No, there are no plans
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

xofer

  • Newbie
  • *
  • Posts: 40
  • Karma: 2
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #38 on: April 26, 2020, 03:00:36 am »
Quote from: brinm00 on April 15, 2020, 04:21:52 pm
Do you of any plans to make it available on only a subset of the interfaces ?
As a sort of a workaround you could bind unbound (with blacklists) only to one interface and dnsmasq on the others.
Logged

lar.hed

  • Full Member
  • ***
  • Posts: 168
  • Karma: 5
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #39 on: May 03, 2020, 10:06:23 am »
As a rather newbie on OPNsense this might be wrong way to ask, however if one never asks, one will never learn :-)

Question: So I like this extension. Any chance there will be an option for setting to which IP adress to redirect any requests?

Background: I know there are a lot of lists out there, some use IP like 0.0.0.0 some other seem to like 127.1.1.1 or anything we simply do not have control over so to say. So what IP is this plugin redirecting all requests to - the one in the list, or anyone specified somwhere, and if it is configurable where do I set this?

My plan is to somehow include https://github.com/kvic-z/pixelserv-tls which I guess would be even better if it was somehow integrated with this package @kvic might be able to help out?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6296
  • Karma: 433
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #40 on: May 03, 2020, 11:31:17 am »
Hi,

It replaces all to 0.0.0.0:

https://github.com/opnsense/plugins/blob/master/dns/unbound-plus/src/opnsense/scripts/OPNsense/Unboundplus/dnsbl.py#L111
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

lar.hed

  • Full Member
  • ***
  • Posts: 168
  • Karma: 5
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #41 on: May 03, 2020, 03:37:26 pm »
Superb :-) I can alter that file myself. However if would be great if that would be possible to set over a parameter in the GUI at some day :-)
Logged

mrancier

  • Newbie
  • *
  • Posts: 34
  • Karma: 3
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #42 on: May 04, 2020, 03:26:53 pm »
Is there a way to add a hostname to the configuration of DoT servers ?  This is necessary for TLS authentication for NextDNS.io or BlockerDNS.com.  It also enables the ability to configure blacklists and whitelist on NextDNS.io.
Logged

pkernstock

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #43 on: May 04, 2020, 03:52:06 pm »
The funny thing is, I sent the exact the same feedback to @mimugmail via Twitter. As the form doesn't accept "#" or hostnames into the field.

At the moment I've workedaround it by modifying the config file directly: (to be honest I don't know if that's persistent across reboots)
Code: [Select]
# cat /var/unbound/etc/dot.conf
server:
  tls-cert-bundle: /etc/ssl/cert.pem
forward-zone:
  name: "."
  forward-tls-upstream: yes
  forward-addr: 45.90.28.0#xx.dns1.nextdns.io
  forward-addr: 2a07:a8c0::#xx.dns1.nextdns.io
  forward-addr: 45.90.30.0#xx.dns2.nextdns.io
  forward-addr: 2a07:a8c1::#xx.dns2.nextdns.io
Logged

mrancier

  • Newbie
  • *
  • Posts: 34
  • Karma: 3
    • View Profile
Re: DNSBL and additional features Plugin for Unbound
« Reply #44 on: May 04, 2020, 04:28:05 pm »
Quote from: pkernstock on May 04, 2020, 03:52:06 pm
The funny thing is, I sent the exact the same feedback to @mimugmail via Twitter. As the form doesn't accept "#" or hostnames into the field.

At the moment I've workedaround it by modifying the config file directly: (to be honest I don't know if that's persistent across reboots)
Code: [Select]
# cat /var/unbound/etc/dot.conf
server:
  tls-cert-bundle: /etc/ssl/cert.pem
forward-zone:
  name: "."
  forward-tls-upstream: yes
  forward-addr: 45.90.28.0#xx.dns1.nextdns.io
  forward-addr: 2a07:a8c0::#xx.dns1.nextdns.io
  forward-addr: 45.90.30.0#xx.dns2.nextdns.io
  forward-addr: 2a07:a8c1::#xx.dns2.nextdns.io

I figured this would be the case, if momentarily, but I would rather do this then send naked queries or having to use their NexDNS cli client, which is still in its infancy.  Thank you so much.  Hope @migmugmail gets around to adding this functionality to the plugin.
Logged

  • Print
Pages: 1 2 [3] 4 5
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • DNSBL and additional features Plugin for Unbound
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2