From 375378c15bb5d6f2649944b9d3dd6b6b8311a081 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 25 Jan 2018 17:41:36 +0100 Subject: [PATCH] Rename "servers" to "static" for clarity --- dnscrypt-proxy/config.go | 2 +- dnscrypt-proxy/dnscrypt-proxy.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index adbc9a42..021ec0dc 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -34,7 +34,7 @@ type Config struct { BlockName BlockNameConfig `toml:"blacklist"` BlockIP BlockIPConfig `toml:"ip_blacklist"` ForwardFile string `toml:"forwarding_rules"` - ServersConfig map[string]ServerConfig `toml:"servers"` + ServersConfig map[string]ServerConfig `toml:"static"` SourcesConfig map[string]SourceConfig `toml:"sources"` SourceRequireDNSSEC bool `toml:"require_dnssec"` SourceRequireNoLog bool `toml:"require_nolog"` diff --git a/dnscrypt-proxy/dnscrypt-proxy.toml b/dnscrypt-proxy/dnscrypt-proxy.toml index 837fde5a..17fb6051 100644 --- a/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/dnscrypt-proxy/dnscrypt-proxy.toml @@ -256,7 +256,8 @@ format = 'tsv' ## Optional, local, static list of additional servers +## Mostly useful for testing your own servers. -# [servers] -# [servers.'scaleway-fr'] +# [static] +# [static.'example.com'] # stamp = 'sdns://AQMAAAAAAAAAEjIxMi40Ny4yMjguMTM2OjQ0MyDoAbhOpga_sLrAzkNEW7FeumSwL6PEqjGuEGNqB5AyTR8yLmRuc2NyeXB0LWNlcnQuZnIuZG5zY3J5cHQub3Jn'