From 720735a2d1ff062c96c4831bc27e364a290a6e70 Mon Sep 17 00:00:00 2001 From: quindecim Date: Fri, 18 Sep 2020 04:45:11 -0400 Subject: [PATCH] [UPSTREAM] - Add support for EDNS-client-subnet https://github.com/DNSCrypt/dnscrypt-proxy/commit/272984a640fb0e8c8e792c7e982c608e1f07c042 --- config/example-docs/example-dnscrypt-proxy.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/example-docs/example-dnscrypt-proxy.toml b/config/example-docs/example-dnscrypt-proxy.toml index 9d0e7c6..af08a4f 100644 --- a/config/example-docs/example-dnscrypt-proxy.toml +++ b/config/example-docs/example-dnscrypt-proxy.toml @@ -117,6 +117,14 @@ timeout = 5000 keepalive = 30 +## Add EDNS-client-subnet information to outgoing queries +## +## Multiple networks can be listed; they will be randomly chosen. +## These networks don't have to match your actual networks. + +# edns_client_subnet = ["0.0.0.0/0", "2001:db8::/32"] + + ## Response for blocked queries. Options are `refused`, `hinfo` (default) or ## an IP response. To give an IP response, use the format `a:,aaaa:`. ## Using the `hinfo` option means that some responses will be lies. @@ -755,3 +763,4 @@ skip_incompatible = false # [static.'myserver'] # stamp = 'sdns://AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg' +