Skip to content

Commit ef51fc4

Browse files
authored
Minor cosmetic fixes to [example-dnscrypt-proxy.toml] file
DNSCrypt/dnscrypt-proxy@6209272 DNSCrypt/dnscrypt-proxy#2036
1 parent 0315211 commit ef51fc4

1 file changed

Lines changed: 34 additions & 12 deletions

File tree

config/dnscrypt-proxy.toml

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ allowed_ips_file = 'allowed-ips.txt'
627627

628628
[schedules]
629629

630-
# [schedules.'time-to-sleep']
630+
# [schedules.time-to-sleep]
631631
# mon = [{after='21:00', before='7:00'}]
632632
# tue = [{after='21:00', before='7:00'}]
633633
# wed = [{after='21:00', before='7:00'}]
@@ -636,7 +636,7 @@ allowed_ips_file = 'allowed-ips.txt'
636636
# sat = [{after='23:00', before='7:00'}]
637637
# sun = [{after='21:00', before='7:00'}]
638638

639-
# [schedules.'work']
639+
# [schedules.work]
640640
# mon = [{after='9:00', before='18:00'}]
641641
# tue = [{after='9:00', before='18:00'}]
642642
# wed = [{after='9:00', before='18:00'}]
@@ -671,7 +671,7 @@ allowed_ips_file = 'allowed-ips.txt'
671671

672672
### An example of a remote source from https://github.com/DNSCrypt/dnscrypt-resolvers
673673

674-
[sources.'public-resolvers']
674+
[sources.public-resolvers]
675675
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']
676676
cache_file = 'public-resolvers.md'
677677
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
@@ -680,7 +680,7 @@ allowed_ips_file = 'allowed-ips.txt'
680680

681681
### Anonymized DNS relays
682682

683-
[sources.'relays']
683+
[sources.relays]
684684
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']
685685
cache_file = 'relays.md'
686686
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
@@ -689,13 +689,13 @@ allowed_ips_file = 'allowed-ips.txt'
689689

690690
### ODoH (Oblivious DoH) servers and relays
691691

692-
# [sources.'odoh-servers']
692+
# [sources.odoh-servers]
693693
# 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']
694694
# cache_file = 'odoh-servers.md'
695695
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
696696
# refresh_delay = 24
697697
# prefix = ''
698-
# [sources.'odoh-relays']
698+
# [sources.odoh-relays]
699699
# 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']
700700
# cache_file = 'odoh-relays.md'
701701
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
@@ -713,7 +713,7 @@ allowed_ips_file = 'allowed-ips.txt'
713713
### Another example source, with resolvers censoring some websites not appropriate for children
714714
### This is a subset of the `public-resolvers` list, so enabling both is useless
715715

716-
# [sources.'parental-control']
716+
# [sources.parental-control]
717717
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v3/parental-control.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/parental-control.md']
718718
# cache_file = 'parental-control.md'
719719
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
@@ -729,11 +729,11 @@ allowed_ips_file = 'allowed-ips.txt'
729729
## Cisco servers currently cannot handle queries larger than 1472 bytes, and don't
730730
## truncate responses larger than questions as expected by the DNSCrypt protocol.
731731
## This prevents large responses from being received over UDP and over relays.
732-
##
732+
##
733733
## Older versions of the `dnsdist` server software had a bug with queries larger
734734
## than 1500 bytes. This is fixed since `dnsdist` version 1.5.0, but
735735
## some server may still run an outdated version.
736-
##
736+
##
737737
## The list below enables workarounds to make non-relayed usage more reliable
738738
## until the servers are fixed.
739739

@@ -851,6 +851,26 @@ direct_cert_fallback = false
851851

852852

853853

854+
###############################
855+
# DNS64 #
856+
###############################
857+
858+
## DNS64 is a mechanism for synthesizing AAAA records from A records.
859+
## It is used with an IPv6/IPv4 translator to enable client-server
860+
## communication between an IPv6-only client and an IPv4-only server,
861+
## without requiring any changes to either the IPv6 or the IPv4 node,
862+
## for the class of applications that work through NATs.
863+
##
864+
## There are two options to synthesize such records:
865+
## Option 1: Using a set of static IPv6 prefixes;
866+
## Option 2: By discovering the IPv6 prefix from DNS64-enabled resolver.
867+
##
868+
## If both options are configured - only static prefixes are used.
869+
## (Ref. RFC6147, RFC6052, RFC7050)
870+
##
871+
## Do not enable unless you know what DNS64 is and why you need it, or else
872+
## you won't be able to connect to anything at all.
873+
854874
###############################
855875
# DNS64 #
856876
###############################
@@ -873,13 +893,15 @@ direct_cert_fallback = false
873893

874894
[dns64]
875895

876-
## (Option 1) Static prefix(es) as Pref64::/n CIDRs.
896+
## Static prefix(es) as Pref64::/n CIDRs
897+
877898
# prefix = ['64:ff9b::/96']
878899

879-
## (Option 2) DNS64-enabled resolver(s) to discover Pref64::/n CIDRs.
900+
## DNS64-enabled resolver(s) to discover Pref64::/n CIDRs
880901
## These resolvers are used to query for Well-Known IPv4-only Name (WKN) "ipv4only.arpa." to discover only.
881902
## Set with your ISP's resolvers in case of custom prefixes (other than Well-Known Prefix 64:ff9b::/96).
882903
## IMPORTANT: Default resolvers listed below support Well-Known Prefix 64:ff9b::/96 only.
904+
883905
# resolver = ['[2606:4700:4700::64]:53', '[2001:4860:4860::64]:53']
884906

885907

@@ -893,5 +915,5 @@ direct_cert_fallback = false
893915

894916
[static]
895917

896-
# [static.'myserver']
918+
# [static.myserver]
897919
# stamp = 'sdns://AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg'

0 commit comments

Comments
 (0)