mirror of
https://github.com/coredns/coredns.git
synced 2026-05-25 19:30:23 -04:00
fix: reject unknown trace and dnstap block options (#8120)
This commit is contained in:
@@ -129,6 +129,8 @@ func traceParse(c *caddy.Controller) (*trace, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
default:
|
||||
return nil, c.Errf("unknown property '%s'", c.Val())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user