mirror of
https://github.com/coredns/coredns.git
synced 2025-11-16 17:02:16 -05:00
plugin/header: Remove deprecated syntax (#7436)
Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user