Rename "servers" to "static" for clarity

This commit is contained in:
Frank Denis 2018-01-25 17:41:36 +01:00
parent 1164dd4d4d
commit 375378c15b
2 changed files with 4 additions and 3 deletions

View File

@ -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"`

View File

@ -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'