mirror of
https://github.com/coredns/coredns.git
synced 2026-04-08 13:05:33 -04:00
chore(docs): regenerate man pages (#7971)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
|
||||
.TH "COREDNS-HEADER" 7 "July 2021" "CoreDNS" "CoreDNS Plugins"
|
||||
.TH "COREDNS-HEADER" 7 "March 2026" "CoreDNS" "CoreDNS Plugins"
|
||||
|
||||
.SH "NAME"
|
||||
.PP
|
||||
\fIheader\fP - modifies the header for responses.
|
||||
\fIheader\fP - modifies the header for queries and responses.
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
\fIheader\fP ensures that the flags are in the desired state for responses. The modifications are made transparently for
|
||||
the client.
|
||||
\fIheader\fP ensures that the flags are in the desired state for queries and responses.
|
||||
The modifications are made transparently for the client and subsequent plugins.
|
||||
|
||||
.SH "SYNTAX"
|
||||
.PP
|
||||
@@ -16,13 +16,15 @@ the client.
|
||||
|
||||
.nf
|
||||
header {
|
||||
ACTION FLAGS...
|
||||
ACTION FLAGS...
|
||||
SELECTOR ACTION FLAGS...
|
||||
SELECTOR ACTION FLAGS...
|
||||
}
|
||||
|
||||
.fi
|
||||
.RE
|
||||
|
||||
.IP \(bu 4
|
||||
\fBSELECTOR\fP defines if the action should be applied on \fB\fCquery\fR or \fB\fCresponse\fR.
|
||||
.IP \(bu 4
|
||||
\fBACTION\fP 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:
|
||||
@@ -58,7 +60,7 @@ Make sure recursive available \fB\fCra\fR flag is set in all the responses:
|
||||
.nf
|
||||
\&. {
|
||||
header {
|
||||
set ra
|
||||
response set ra
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,8 +76,24 @@ Make sure "recursion available" \fB\fCra\fR and "authoritative answer" \fB\fCaa\
|
||||
.nf
|
||||
\&. {
|
||||
header {
|
||||
set ra aa
|
||||
clear rd
|
||||
response set ra aa
|
||||
response clear rd
|
||||
}
|
||||
}
|
||||
|
||||
.fi
|
||||
.RE
|
||||
|
||||
.PP
|
||||
Make sure "recursion desired" \fB\fCrd\fR is set for all subsequent plugins::
|
||||
|
||||
.PP
|
||||
.RS
|
||||
|
||||
.nf
|
||||
\&. {
|
||||
header {
|
||||
query set rd
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user