Affected by GO-2022-0368
and 5 other vulnerabilities
GO-2022-0368: Improper random number generation in github.com/coredns/coredns
GO-2024-3130: CoreDNS vulnerable to TuDoor Attacks in github.com/coredns/coredns
GO-2025-3743: CoreDNS Vulnerable to DoQ Memory Exhaustion via Stream Amplification in github.com/coredns/coredns
GO-2026-4289: CoreDNS gRPC/HTTPS/HTTP3 servers lack resource limits, enabling DoS via unbounded connections and oversized messages in github.com/coredns/coredns
GO-2026-4630: CoreDNS ACL Bypass in github.com/coredns/coredns
GO-2026-4635: CoreDNS Loop Detection Denial of Service Vulnerability in github.com/coredns/coredns
debug - disables the automatic recovery upon a crash so that you'll get a nice stack trace.
Description
Normally CoreDNS will recover from panics, using debug inhibits this. The main use of debug is
to help testing. A side effect of using debug is that log.Debug and log.Debugf will be printed
to standard output.
Note that the errors plugin (if loaded) will also set a recover negating this setting.
Syntax
debug
Examples
Disable the ability to recover from crashes and show debug logging: