This release introduces a new Nomad plugin for integrating CoreDNS with HashiCorp Nomad. It also fixes major Corefile issues on infinite loops and import cycles, improves shutdown handling, normalizes core panics, addresses data races in the file plugin, enforces gRPC size limits, adjusts forward failover behavior, as well as prevents reload deadlocks.
Brought to You By
Fitz_dev Ilya Kulakov Olli Janatuinen Ville Vesilehto Yong Tang
Noteworthy Changes
- core: Export timeout values in dnsserver.Server (https://github.com/coredns/coredns/pull/7497)
- core: Fix Corefile infinite loop on unclosed braces (https://github.com/coredns/coredns/pull/7571)
- core: Fix Corefile related import cycle issue (https://github.com/coredns/coredns/pull/7567)
- core: Normalize panics on invalid origins (https://github.com/coredns/coredns/pull/7563)
- core: Rely on dns.Server.ShutdownContext to gracefully stop (https://github.com/coredns/coredns/pull/7517)
- plugin/dnstap: Add bounds for plugin args (https://github.com/coredns/coredns/pull/7557)
- plugin/file: Fix data race in tree Elem.Name (https://github.com/coredns/coredns/pull/7574)
- plugin/forward: No failover to next upstream when receiving SERVFAIL or REFUSED response codes (https://github.com/coredns/coredns/pull/7458)
- plugin/grpc: Enforce DNS message size limits (https://github.com/coredns/coredns/pull/7490)
- plugin/loop: Prevent panic when ListenHosts is empty (https://github.com/coredns/coredns/pull/7565)
- plugin/loop: Avoid panic on invalid server block (https://github.com/coredns/coredns/pull/7568)
- plugin/nomad: Add a Nomad plugin (https://github.com/coredns/coredns/pull/7467)
- plugin/reload: Prevent SIGTERM/reload deadlock (https://github.com/coredns/coredns/pull/7562)