mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/dnscrypt-proxy: Fix ODoH servers not working (#4374)
This commit is contained in:
+6
@@ -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. Note: If checked you must provide ODoH target and relay servers manually!</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.require_dnssec</id>
|
||||
<label>Require DNSSEC</label>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/dnscryptproxy/general</mount>
|
||||
<description>dnscrypt-proxy configuration</description>
|
||||
<version>0.1.2</version>
|
||||
<version>0.1.3</version>
|
||||
<items>
|
||||
<enabled type="BooleanField">
|
||||
<Default>0</Default>
|
||||
@@ -38,6 +38,10 @@
|
||||
<Default>1</Default>
|
||||
<Required>Y</Required>
|
||||
</doh_servers>
|
||||
<odoh_servers type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>Y</Required>
|
||||
</odoh_servers>
|
||||
<require_dnssec type="BooleanField">
|
||||
<Default>0</Default>
|
||||
<Required>Y</Required>
|
||||
|
||||
+26
-2
@@ -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
|
||||
{% else %}
|
||||
odoh_servers = false
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.dnscryptproxy.general.require_dnssec') and OPNsense.dnscryptproxy.general.require_dnssec == '1' %}
|
||||
require_dnssec = true
|
||||
{% else %}
|
||||
@@ -146,7 +152,7 @@ cache = false
|
||||
|
||||
[sources]
|
||||
[sources.'public-resolvers']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/public-resolvers.md']
|
||||
cache_file = 'public-resolvers.md'
|
||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||
refresh_delay = 72
|
||||
@@ -155,12 +161,30 @@ cache = false
|
||||
## Anonymized DNS relays
|
||||
|
||||
[sources.'relays']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/relays.md', 'https://download.dnscrypt.net/resolvers-list/v3/relays.md']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/relays.md']
|
||||
cache_file = 'relays.md'
|
||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||
refresh_delay = 72
|
||||
prefix = ''
|
||||
|
||||
## Oblivious DoH servers
|
||||
|
||||
[sources.'odoh-servers']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-servers.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-servers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/odoh-servers.md']
|
||||
cache_file = 'odoh-servers.md'
|
||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||
refresh_delay = 72
|
||||
prefix = ''
|
||||
|
||||
## Oblivious DoH relays
|
||||
|
||||
[sources.'odoh-relays']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/odoh-relays.md']
|
||||
cache_file = 'odoh-relays.md'
|
||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||
refresh_delay = 72
|
||||
prefix = ''
|
||||
|
||||
[anonymized_dns]
|
||||
|
||||
{% if helpers.exists('OPNsense.dnscryptproxy.general.relaylist') and OPNsense.dnscryptproxy.general.relaylist != '' %}
|
||||
|
||||
Reference in New Issue
Block a user