aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/coredns-acl.713
-rw-r--r--man/coredns-log.715
-rw-r--r--man/coredns-whoami.72
3 files changed, 20 insertions, 10 deletions
diff --git a/man/coredns-acl.7 b/man/coredns-acl.7
index 21f65e79f..0ebbb635a 100644
--- a/man/coredns-acl.7
+++ b/man/coredns-acl.7
@@ -103,3 +103,16 @@ example.org {
.fi
.RE
+.SH "METRICS"
+.PP
+If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metrics are exported:
+
+.IP \(bu 4
+\fB\fCcoredns_request_block_count_total{server, zone}\fR - counter of DNS requests being blocked.
+.IP \(bu 4
+\fB\fCcoredns_request_allow_count_total{server}\fR - counter of DNS requests being allowed.
+
+
+.PP
+The \fB\fCserver\fR and \fB\fCzone\fR labels are explained in the \fImetrics\fP plugin documentation.
+
diff --git a/man/coredns-log.7 b/man/coredns-log.7
index d1e7e6538..b93fc68ec 100644
--- a/man/coredns-log.7
+++ b/man/coredns-log.7
@@ -1,5 +1,5 @@
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
-.TH "COREDNS-LOG" 7 "December 2019" "CoreDNS" "CoreDNS Plugins"
+.TH "COREDNS-LOG" 7 "January 2020" "CoreDNS" "CoreDNS Plugins"
.SH "NAME"
.PP
@@ -8,11 +8,11 @@
.SH "DESCRIPTION"
.PP
By just using \fIlog\fP you dump all queries (and parts for the reply) on standard output. Options exist
-to tweak the output a little. The date/time prefix on log lines is RFC3339 formatted with
-milliseconds.
+to tweak the output a little. Note that for busy servers logging will incur a performance hit.
.PP
-Note that for busy servers logging will incur a performance hit.
+Enabling or disabling the \fIlog\fP plugin only affects the query logging, any other logging from
+CoreDNS will show up regardless.
.SH "SYNTAX"
.PP
@@ -24,11 +24,8 @@ log
.fi
.RE
-.IP \(bu 4
-With no arguments, a query log entry is written to \fIstdout\fP in the common log format for all requests
-
-
.PP
+With no arguments, a query log entry is written to \fIstdout\fP in the common log format for all requests.
Or if you want/need slightly more control:
.PP
@@ -83,7 +80,7 @@ logged whatever we mix together with "all".
.PP
-If no class is specified, it defaults to \fIall\fP.
+If no class is specified, it defaults to \fB\fCall\fR.
.SH "LOG FORMAT"
.PP
diff --git a/man/coredns-whoami.7 b/man/coredns-whoami.7
index 860a4230c..898d4247e 100644
--- a/man/coredns-whoami.7
+++ b/man/coredns-whoami.7
@@ -1,5 +1,5 @@
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
-.TH "COREDNS-WHOAMI" 7 "December 2019" "CoreDNS" "CoreDNS Plugins"
+.TH "COREDNS-WHOAMI" 7 "January 2020" "CoreDNS" "CoreDNS Plugins"
.SH "NAME"
.PP