Warn if fallback_resolvers is still in use

This commit is contained in:
Frank Denis 2021-06-08 09:53:53 +02:00
parent b39232e996
commit 33ed882efe
1 changed files with 1 additions and 0 deletions

View File

@ -371,6 +371,7 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
proxy.xTransport.tlsCipherSuite = config.TLSCipherSuite
proxy.xTransport.mainProto = proxy.mainProto
if len(config.BootstrapResolvers) == 0 && len(config.BootstrapResolversLegacy) > 0 {
dlog.Warnf("fallback_resolvers was renamed to bootstrap_resolvers - Please update your configuration")
config.BootstrapResolvers = config.BootstrapResolversLegacy
}
if len(config.BootstrapResolvers) > 0 {