mirror of
https://github.com/coredns/coredns.git
synced 2025-11-21 11:22:20 -05:00
Generate man-pages (#2439)
Almost 100% mechanical change, except the fact that import/import.md is moved to import/README.md No content changes. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "COREDNS\-LOG" "7" "December 2018" "CoreDNS" "CoreDNS plugins"
|
||||
.TH "COREDNS\-LOG" "7" "January 2019" "CoreDNS" "CoreDNS plugins"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fIlog\fR \- enables query logging to standard output\.
|
||||
@@ -42,7 +42,7 @@ log [NAME] [FORMAT]
|
||||
\fBNAME\fR is the name to match in order to be logged
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBFORMAT\fR is the log format to use (default is Common Log Format)
|
||||
\fBFORMAT\fR is the log format to use (default is Common Log Format), \fB{common}\fR is used as a shortcut for the Common Log Format\. You can also use \fB{combined}\fR for a format that adds the query opcode \fB{>opcode}\fR to the Common Log Format\.
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
@@ -73,7 +73,7 @@ The classes of responses have the following meaning:
|
||||
\fBsuccess\fR: successful response
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBdenial\fR: either NXDOMAIN or NODATA (name exists, type does not)
|
||||
\fBdenial\fR: either NXDOMAIN or nodata responses (Name exists, type does not)\. A nodata response sets the return code to NOERROR\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBerror\fR: SERVFAIL, NOTIMP, REFUSED, etc\. Anything that indicates the remote server is not willing to resolve the request\.
|
||||
@@ -141,7 +141,13 @@ The following place holders are supported:
|
||||
\fB{>opcode}\fR: query OPCODE
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fB{/[LABEL]}\fR: any metadata label is accepted as a place holder if it is enclosed between \fB{/\fR and \fB}\fR\. the place holder will be replaced by the corresponding metadata value or the default value \fB\-\fR if label is not defined\.
|
||||
\fB{common}\fR: the default Common Log Format\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fB{combined}\fR: the Common Log Format with the query opcode\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fB{/LABEL}\fR: any metadata label is accepted as a place holder if it is enclosed between \fB{/\fR and \fB}\fR, the place holder will be replaced by the corresponding metadata value or the default value \fB\-\fR if label is not defined\. See the \fImetadata\fR plugin for more information\.
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
@@ -203,7 +209,7 @@ Custom log format, for all zones (\fB\.\fR)
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
Only log denials for example\.org (and below to a file)
|
||||
Only log denials (NXDOMAIN and nodata) for example\.org (and below)
|
||||
.
|
||||
.IP "" 4
|
||||
.
|
||||
@@ -220,14 +226,14 @@ Only log denials for example\.org (and below to a file)
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
Log all queries which were not resolved successfully
|
||||
Log all queries which were not resolved successfully in the Combined Log Format\.
|
||||
.
|
||||
.IP "" 4
|
||||
.
|
||||
.nf
|
||||
|
||||
\&\. {
|
||||
log \. {
|
||||
log \. {combined} {
|
||||
class denial error
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user