mirror of
https://github.com/coredns/coredns.git
synced 2026-04-09 21:45:32 -04:00
chore(docs): regenerate man pages (#7971)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
|
||||
.TH "COREDNS-LOG" 7 "March 2021" "CoreDNS" "CoreDNS Plugins"
|
||||
.TH "COREDNS-LOG" 7 "March 2026" "CoreDNS" "CoreDNS Plugins"
|
||||
|
||||
.SH "NAME"
|
||||
.PP
|
||||
@@ -153,13 +153,39 @@ Each of these logs will be outputted with \fB\fClog.Infof\fR, so a typical examp
|
||||
|
||||
.nf
|
||||
[INFO] [::1]:50759 \- 29008 "A IN example.org. udp 41 false 4096" NOERROR qr,rd,ra,ad 68 0.037990251s
|
||||
~~~~
|
||||
|
||||
## Examples
|
||||
.fi
|
||||
.RE
|
||||
|
||||
.SH "ADDITIONAL METADATA"
|
||||
.PP
|
||||
The log plugin adds the following metadata to allow for granular differentiation of NOERROR denial vs success messages. These are mapped from \fB\fCplugin/pkg/response/classify.go\fR and \fB\fCplugin/pkg/response/typify.go\fR.
|
||||
|
||||
.IP \(bu 4
|
||||
\fB\fC{/log/class}\fR: success, denial
|
||||
.IP \(bu 4
|
||||
\fB\fC{/log/type}\fR: NODATA, NXDOMAIN, NOERROR
|
||||
|
||||
|
||||
.PP
|
||||
.RS
|
||||
|
||||
.nf
|
||||
\&. {
|
||||
log . "{proto} Request: {name} {type} {/log/class} {/log/type}"
|
||||
}
|
||||
|
||||
.fi
|
||||
.RE
|
||||
|
||||
.SH "EXAMPLES"
|
||||
.PP
|
||||
Log all requests to stdout
|
||||
|
||||
~~~ corefile
|
||||
.PP
|
||||
.RS
|
||||
|
||||
.nf
|
||||
\&. {
|
||||
log
|
||||
whoami
|
||||
|
||||
Reference in New Issue
Block a user