OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Ochimo on July 22, 2020, 04:11:34 pm

Title: DNS over TLS Servers
Post by: Ochimo on July 22, 2020, 04:11:34 pm
Would this be an esier way of configuring this instead of altering the stubby file? Just put like 9.9.9.9@853 and DNS over TLS is on?
Title: Re: DNS over TLS Servers
Post by: franco on July 24, 2020, 07:44:28 am
Unbound can do DoT in 20.7 per GUI configuration (and I don't mean custom options).


Cheers,
Franco
Title: Re: DNS over TLS Servers
Post by: Massimo1993 on August 01, 2020, 04:51:56 pm
Can't find any option regardin DoT, i've also added to the DNS over TLS field 1.0.0.1@853  (under miscellaneous tab) but on https://cloudflare-dns.com/help/ i keep on getting no to the DNS over TLS check.
Please could you tell us how to do it? Thanks.
Title: Re: DNS over TLS Servers
Post by: Steve28 on August 01, 2020, 05:34:25 pm
Can't find any option regardin DoT, i've also added to the DNS over TLS field 1.0.0.1@853  (under miscellaneous tab) but on https://cloudflare-dns.com/help/ i keep on getting no to the DNS over TLS check.
Please could you tell us how to do it? Thanks.

@Massimo1993, try to restart the unbound service after you fill in the resolvers on the Miscellaneous tab.  That made it start for me.

But then I have a question: Does unbound then ignore the General-> Enable forwarding mode?  Because that is NOT currently checked for me, but my requests are being forwarded to my DoT provider.
Title: Re: DNS over TLS Servers
Post by: Massimo1993 on August 01, 2020, 05:44:51 pm
Here is my settings https://imgur.com/a/koO1LWY
Title: Re: DNS over TLS Servers
Post by: hushcoden on August 01, 2020, 06:28:07 pm
@Massimo1993, try to restart the unbound service after you fill in the resolvers on the Miscellaneous tab.  That made it start for me.

Which is the correct syntax: 9.9.9.9@853#dns.quad9.net or 9.9.9.9@853 ?

Quote
But then I have a question: Does unbound then ignore the General-> Enable forwarding mode?  Because that is NOT currently checked for me, but my requests are being forwarded to my DoT provider.
I remember reading in another post that 'Enable Forwarding Mode' can be unchecked
Title: Re: DNS over TLS Servers
Post by: Massimo1993 on August 01, 2020, 06:47:56 pm
Which is the correct syntax: 9.9.9.9@853#dns.quad9.net or 9.9.9.9@853 ?
The second one, if you try to add any dns with #domain.something it gives validation error

I remember reading in another post that 'Enable Forwarding Mode' can be unchecked
I did uncheck it, like i've showed in the pictures. I've tried restarting unbound and also i've tried reinstalling unbound.
Title: Re: DNS over TLS Servers
Post by: mimugmail on August 03, 2020, 10:14:28 am
9.9.9.9@853#dns.quad9.net is currently not supported yet, only without verification
Title: Re: DNS over TLS Servers
Post by: Massimo1993 on August 03, 2020, 10:46:11 am
9.9.9.9@853#dns.quad9.net is currently not supported yet, only without verification

Not even cloudflare or googledns?

I've tried also this configuration i've found in this forum but it doesen't works either
Code: [Select]
server:
  minimal-responses: yes
  qname-minimisation: yes
  rrset-roundrobin: yes
  use-caps-for-id: yes
  tls-cert-bundle: /etc/ssl/cert.pem

forward-zone:
  name: "."
  forward-addr: 1.1.1.1@853
  forward-addr: 1.0.0.1@853
  forward-ssl-upstream: yes
Title: Re: DNS over TLS Servers
Post by: mimugmail on August 03, 2020, 11:19:10 am
The view will be rewritten to use a grid layout, so currently the hash sign is forbidden.

I think if you trust google in general you can also trust DNS connection to 8.8.8.8 without the certificate verification?
Title: Re: DNS over TLS Servers
Post by: Massimo1993 on August 03, 2020, 11:54:52 am
The view will be rewritten to use a grid layout, so currently the hash sign is forbidden.

Yes but shouldn't the custom setting works?

I think if you trust google in general you can also trust DNS connection to 8.8.8.8 without the certificate verification?
Just to test if the dns over lts works, i've always used cloudflare.

Btw here are my current non working settings
https://postimg.cc/gallery/fM2mBRh
Title: Re: DNS over TLS Servers
Post by: mimugmail on August 03, 2020, 12:34:01 pm
They should, but it may lead to other errors ..