[UPSTREAM] - Add support for EDNS-client-subnet

272984a640
This commit is contained in:
quindecim 2020-09-18 04:45:11 -04:00
parent d5e88d14df
commit 720735a2d1
1 changed files with 9 additions and 0 deletions

View File

@ -117,6 +117,14 @@ timeout = 5000
keepalive = 30 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 ## Response for blocked queries. Options are `refused`, `hinfo` (default) or
## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`. ## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`.
## Using the `hinfo` option means that some responses will be lies. ## Using the `hinfo` option means that some responses will be lies.
@ -755,3 +763,4 @@ skip_incompatible = false
# [static.'myserver'] # [static.'myserver']
# stamp = 'sdns://AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg' # stamp = 'sdns://AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg'