DNS over TLS Question

Started by spetrillo, May 23, 2020, 03:12:11 AM

Previous topic - Next topic
I am using the miscellaneous section of Unbound to specify my TLS servers. When I do this I get a msg in the Unbound log that tells me there are duplicate forwarding zones. Is this ok or is it an error. I specified both Cloudflare servers, so I know they both work.

Then you also have one in custum settings?
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

I do not...I only have my Plex piece there.

This can also be set in misc section
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Ok so i removed everything from custom and have now added plex.direct into misc, as shown in the attached. All good?

But you error is still there?
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Yes I still have the duplicate forward zone msg in the log.

Can you check /var/unbound/unbound.conf?
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

So when checking the file I find the following in there:

# Forwarding
forward-zone:
    name: "."
    forward-addr: 1.1.1.1
    forward-addr: 1.0.0.1

This corresponds to my config but is missing the TLS designation? I would have expected to see the @853 also.

Steve

This means your Unbound is using your system dns (transparent Mode), which cant work
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Hmm...how did this happen and what do I need to change? Under System/Settings I am specifying 1.1.1.1 and 1.0.0.1.

I'm quite sure you have "DNS Query Forwarding" in Unbound : General enabled. This means Unbound forwards every request to the systems DNS servers. Just disable this checkbox.
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Thanks for that...yes I had it enabled. It is now unchecked and the duplicate forwarding log msg is now gone.