mirror of
https://github.com/coredns/coredns.git
synced 2026-05-26 03:40:23 -04:00
fix: reject unknown trace and dnstap block options (#8120)
This commit is contained in:
@@ -180,6 +180,8 @@ func parseConfig(c *caddy.Controller) ([]*Dnstap, error) {
|
||||
}
|
||||
d.ExtraFormat = c.Val()
|
||||
}
|
||||
default:
|
||||
return nil, c.Errf("unknown property '%s'", c.Val())
|
||||
}
|
||||
}
|
||||
dnstaps = append(dnstaps, &d)
|
||||
|
||||
Reference in New Issue
Block a user