pfsense:unbound:secure_dns_over_tls
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pfsense:unbound:secure_dns_over_tls [2020/05/13 18:46] – created peter | pfsense:unbound:secure_dns_over_tls [2020/05/13 19:04] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PFSense - Unbound - Secure DNS over TLS ====== | ||
- | |||
- | Secure DNS required TLS with certificate domain validation. | ||
- | |||
- | Without TLS certificate domain validation your DNS can still be intercepted, | ||
- | |||
- | Here is how you set it up more securely. | ||
- | |||
- | Here is a minimal example configuration for Unbound, / | ||
- | |||
- | < | ||
- | server: | ||
- | tls-cert-bundle: | ||
- | |||
- | forward-zone: | ||
- | name: " | ||
- | forward-tls-upstream: | ||
- | # Quad9. | ||
- | forward-addr: | ||
- | forward-addr: | ||
- | forward-addr: | ||
- | forward-addr: | ||
- | # Cloudflare DNS. | ||
- | forward-addr: | ||
- | forward-addr: | ||
- | forward-addr: | ||
- | forward-addr: | ||
- | </ | ||
- | |||
- | <WRAP alert> | ||
- | **IMPORTANT: | ||
- | </ | ||
- | |||
- | |||
- | |||
- | The **tls-cert-bundle** option points to the local system’s root certificate authority bundle; including all the trusted root certificates of the operating system. | ||
- | |||
- | The default location of the root certificate bundle is **/ | ||
- | |||
- | If you haven’t setup the tls-cert-bundle option correctly, you may end up with certificate validation errors (below) and Unbound refusing to connect to the remove resolver: | ||
- | |||
- | < | ||
- | notice: ssl handshake failed 9.9.9.9 port 853 | ||
- | error: ssl handshake failed crypto error: | ||
- | </ | ||
- | |||
pfsense/unbound/secure_dns_over_tls.1589395582.txt.gz · Last modified: 2020/07/15 09:30 (external edit)