plugin/header: Remove deprecated syntax (#7436)

Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
This commit is contained in:
Qasim Sarfraz
2025-08-09 00:38:41 +02:00
committed by GitHub
parent 52639bc66c
commit 712a5050bd
3 changed files with 8 additions and 22 deletions

View File

@@ -13,12 +13,12 @@ The modifications are made transparently for the client and subsequent plugins.
~~~
header {
[SELECTOR] ACTION FLAGS...
[SELECTOR] ACTION FLAGS...
SELECTOR ACTION FLAGS...
SELECTOR ACTION FLAGS...
}
~~~
* **SELECTOR** defines if the action should be applied on `query` or `response`. In future CoreDNS version the selector will be mandatory. For backwards compatibility the action will be applied on `response` if the selector is undefined.
* **SELECTOR** defines if the action should be applied on `query` or `response`.
* **ACTION** defines the state for DNS message header flags. Actions are evaluated in the order they are defined so last one has the
most precedence. Allowed values are: