mirror of
https://github.com/coredns/coredns.git
synced 2026-01-14 21:01:19 -05:00
fix(plugins): add regex length limit (#7802)
This commit is contained in:
@@ -26,7 +26,8 @@ template CLASS TYPE [ZONE...] {
|
||||
* **TYPE** the query type (A, PTR, ... can be ANY to match all types).
|
||||
* **ZONE** the zone scope(s) for this template. Defaults to the server zones.
|
||||
* `match` **REGEX** [Go regexp](https://golang.org/pkg/regexp/) that are matched against the incoming question name.
|
||||
Specifying no regex matches everything (default: `.*`). First matching regex wins.
|
||||
Specifying no regex matches everything (default: `.*`). First matching regex wins. Regex patterns
|
||||
must not exceed 10000 characters.
|
||||
* `answer|additional|authority` **RR** A [RFC 1035](https://tools.ietf.org/html/rfc1035#section-5) style resource record fragment
|
||||
built by a [Go template](https://golang.org/pkg/text/template/) that contains the reply. Specifying no answer will result
|
||||
in a response with an empty answer section.
|
||||
|
||||
Reference in New Issue
Block a user