dnsforward -- rename BlockedTTL to BlockedResponseTTL to be in line with app's config variable.

This commit is contained in:
Eugene Bujak
2018-11-28 18:14:12 +03:00
parent e4a3564706
commit 7120f551c8
2 changed files with 18 additions and 18 deletions

View File

@@ -29,9 +29,9 @@ func startDNSServer() error {
}
newconfig := dnsforward.ServerConfig{
UDPListenAddr: &net.UDPAddr{Port: config.CoreDNS.Port},
BlockedTTL: config.CoreDNS.BlockedResponseTTL,
Filters: filters,
UDPListenAddr: &net.UDPAddr{Port: config.CoreDNS.Port},
BlockedResponseTTL: config.CoreDNS.BlockedResponseTTL,
Filters: filters,
}
for _, u := range config.CoreDNS.UpstreamDNS {