mirror of
https://github.com/coredns/coredns.git
synced 2026-06-01 23:00:23 -04:00
plugin/forward: Forward NODATA responses to Next handler (#8065)
This commit is contained in:
@@ -395,6 +395,11 @@ func parseBlock(c *caddy.Controller, f *Forward) error {
|
||||
|
||||
f.nextAlternateRcodes = append(f.nextAlternateRcodes, rc)
|
||||
}
|
||||
case "next_on_nodata":
|
||||
if c.NextArg() {
|
||||
return c.ArgErr()
|
||||
}
|
||||
f.nextOnNodata = true
|
||||
case "failfast_all_unhealthy_upstreams":
|
||||
args := c.RemainingArgs()
|
||||
if len(args) != 0 {
|
||||
|
||||
Reference in New Issue
Block a user