Directive -> plugin (#3363)

Caught my eye, we name things directive still, esp when talking about
the prometheus *plugin*. Rename everything that needs to be plugin to
'plugin'. Also make sure Metrics is a H2 section (not H1).

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2019-10-08 10:20:48 +01:00 committed by GitHub
parent ffe6225ff6
commit 65458b2de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 20 additions and 20 deletions

View file

@ -62,7 +62,7 @@ sign DBFILE [ZONES...] {
~~~
* **DBFILE** the zone database file to read and parse. If the path is relative, the path from the
*root* directive will be prepended to it.
*root* plugin will be prepended to it.
* **ZONES** zones it should be sign for. If empty, the zones from the configuration block are
used.
* `key` specifies the key(s) (there can be multiple) to sign the zone. If `file` is
@ -71,7 +71,7 @@ sign DBFILE [ZONES...] {
*ignored*. These keys must also be Key Signing Keys (KSK).
* `directory` specifies the **DIR** where CoreDNS should save zones that have been signed.
If not given this defaults to `/var/lib/coredns`. The zones are saved under the name
`db.<name>.signed`. If the path is relative the path from the *root* directive will be prepended
`db.<name>.signed`. If the path is relative the path from the *root* plugin will be prepended
to it.
Keys can be generated with `coredns-keygen`, to create one for use in the *sign* plugin, use: