OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • 24.7.10 Unbound DNS: DNS over TLS NOK? -> OK with 24.7.10_1
« previous next »
  • Print
Pages: 1 [2]

Author Topic: 24.7.10 Unbound DNS: DNS over TLS NOK? -> OK with 24.7.10_1  (Read 762 times)

FullyBorked

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 24
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #15 on: Today at 04:02:03 pm »
Quote from: gac on Today at 03:59:08 pm
Quote from: FullyBorked on Today at 03:57:47 pm
Quote from: franco on Today at 03:47:04 pm
Apparently it's a feature they coined to be for "Windows" and default to off?

tls-win-cert: yes

instead of tls-cert-bundle... can anyone confirm?


Thanks,
Franco

https://nlnetlabs.nl/documentation/unbound/unbound.conf/

I don't see either of these entries in my unbound.conf file.  Should I check somewhere else?
They would be in /var/unbound/etc/dot.conf

Hmm, ok the link he quoted mentioned the unbound.conf.  My dot.conf file other than a single forwarding zone is empty. 
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #16 on: Today at 04:03:27 pm »
24.7.10_1 is now live...
Logged

FullyBorked

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 24
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #17 on: Today at 04:04:23 pm »
Quote from: franco on Today at 04:00:52 pm
No, /usr/local/opnsense/service/templates/OPNsense/Unbound/core/dot.conf otherwise it will be overwritten on apply.

Thanks, mine is currently un-patched, I show " tls-system-cert: yes". 
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #18 on: Today at 04:08:02 pm »
> Thanks, mine is currently un-patched, I show " tls-system-cert: yes".

Can you add "tls-win-cert: yes" in the line below (with the same indent) and apply from GUI?

If that doesn't work "tls-cert-bundle: /usr/local/etc/ssl/cert.pem" and removing "tls-system-cert: yes" will do the trick.


Cheers,
Franco
Logged

longtom

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #19 on: Today at 04:11:13 pm »
Thanks a lot for the quick patch!  :)
Logged

FullyBorked

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 24
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #20 on: Today at 04:14:42 pm »
Quote from: franco on Today at 04:08:02 pm
> Thanks, mine is currently un-patched, I show " tls-system-cert: yes".

Can you add "tls-win-cert: yes" in the line below (with the same indent) and apply from GUI?

If that doesn't work "tls-cert-bundle: /usr/local/etc/ssl/cert.pem" and removing "tls-system-cert: yes" will do the trick.


Cheers,
Franco

Adding "tls-win-cert" in the line below didn't fix it.  But replacing "tls-system-cert: yes" with "tls-cert-bundle: /usr/local/etc/ssl/cert.pem" did restore functionality. 

Do I need to leave the "tls-win-cert: yes" in place? 
Logged

Wendigo

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK? -> OK with 24.7.10_1
« Reply #21 on: Today at 04:15:27 pm »
24.7.10_1 works fine for me. Thank you :)
Logged

gac

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK?
« Reply #22 on: Today at 04:20:08 pm »
Quote from: FullyBorked on Today at 04:02:03 pm
Quote from: gac on Today at 03:59:08 pm
Quote from: FullyBorked on Today at 03:57:47 pm
Quote from: franco on Today at 03:47:04 pm
Apparently it's a feature they coined to be for "Windows" and default to off?

tls-win-cert: yes

instead of tls-cert-bundle... can anyone confirm?


Thanks,
Franco

https://nlnetlabs.nl/documentation/unbound/unbound.conf/

I don't see either of these entries in my unbound.conf file.  Should I check somewhere else?
They would be in /var/unbound/etc/dot.conf

Hmm, ok the link he quoted mentioned the unbound.conf.  My dot.conf file other than a single forwarding zone is empty.
The documentation for `unbound.conf` just shows every available option - Unbound is one of the (sensible) apps which allows for options to be spread across multiple configuration files, for example some provided by a package manager (eligible for overwriting) and some manually (which should not be overwritten). Or separated out by purpose/feature.

So `/var/unbound/etc/dot.conf` will contain a rendered config file with the configuration entries from the `unbound.conf` man page, which are relevant for DNS-over-TLS (or `dot`).
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: 24.7.10 Unbound DNS: DNS over TLS NOK? -> OK with 24.7.10_1
« Reply #23 on: Today at 04:46:37 pm »
> Do I need to leave the "tls-win-cert: yes" in place?

No, apparently it is only an alias for tls-system-cert after all but there is a bug somewhere because it ignores the system directory location, which I haven't seen before. Things like this were tested to death in the last month in fetch, pkg and syslog-ng and they all worked as documented in OpenSSL.


Cheers,
Franco
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • 24.7.10 Unbound DNS: DNS over TLS NOK? -> OK with 24.7.10_1
 

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