Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns/dnscrypt-proxy: Fix ODoH servers not working #4374

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<type>checkbox</type>
<help>Let DNSCrypt-Proxy use servers with DNS-over-HTTPS protocol enabled.</help>
</field>
<field>
<id>general.odoh_servers</id>
<label>Use Oblivious-DNS-over-HTTPS Servers</label>
<type>checkbox</type>
<help>Let DNSCrypt-Proxy use servers with Oblivious-DNS-over-HTTPS protocol enabled.</help>
</field>
<field>
<id>general.require_dnssec</id>
<label>Require DNSSEC</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
<default>1</default>
<Required>Y</Required>
</doh_servers>
<odoh_servers type="BooleanField">
levelad marked this conversation as resolved.
Show resolved Hide resolved
<default>0</default>
<Required>Y</Required>
</odoh_servers>
<require_dnssec type="BooleanField">
<default>0</default>
<Required>Y</Required>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ doh_servers = true
doh_servers = false
{% endif %}

{% if helpers.exists('OPNsense.dnscryptproxy.general.odoh_servers') and OPNsense.dnscryptproxy.general.odoh_servers == '1' %}
odoh_servers = true
levelad marked this conversation as resolved.
Show resolved Hide resolved
{% else %}
odoh_servers = false
{% endif %}

{% if helpers.exists('OPNsense.dnscryptproxy.general.require_dnssec') and OPNsense.dnscryptproxy.general.require_dnssec == '1' %}
require_dnssec = true
{% else %}
Expand Down