mirror of
https://github.com/coredns/coredns.git
synced 2026-08-20 23:08:28 -04:00
core/dnsserver: normalize server block zones (#8320)
This commit is contained in:
@@ -100,7 +100,7 @@ func (h *dnsContext) InspectServerBlocks(_sourceFile string, serverBlocks []cadd
|
||||
}
|
||||
}
|
||||
for i := range hosts {
|
||||
zoneAddrs = append(zoneAddrs, zoneAddr{Zone: dns.Fqdn(hosts[i]), Port: port, Transport: trans})
|
||||
zoneAddrs = append(zoneAddrs, zoneAddr{Zone: plugin.Name(hosts[i]).Normalize(), Port: port, Transport: trans})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user