aboutsummaryrefslogtreecommitdiff
path: root/corefile.5.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-04-06 08:42:40 +0100
committerGravatar GitHub <noreply@github.com> 2019-04-06 08:42:40 +0100
commitf8aa208cc00edf5ed231979210f8996bf318627d (patch)
tree5b04d752f379c54226972070823301f114977c64 /corefile.5.md
parent663271a7cab38e5c2505a1735c19f629f1889587 (diff)
downloadcoredns-f8aa208cc00edf5ed231979210f8996bf318627d.tar.gz
coredns-f8aa208cc00edf5ed231979210f8996bf318627d.tar.zst
coredns-f8aa208cc00edf5ed231979210f8996bf318627d.zip
docs: Regenerate all manpages using mmark (#2762)
Mmark recently became able to create manual pages. This removed the dependency on 'ronn' and just uses mmark (Go program). Re-hookup Makefile.doc to generate the correct header mmark needs to see and regenate them all. Spot checking a few pages suggest they look good and actually better than rendered with ronn, esp. lists in lists. Fixes #2757 Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'corefile.5.md')
-rw-r--r--corefile.5.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/corefile.5.md b/corefile.5.md
index a1ce4fed0..f6168a274 100644
--- a/corefile.5.md
+++ b/corefile.5.md
@@ -57,7 +57,7 @@ You can use the `import` "plugin" to include parts of other files, see <https://
If you want to reuse a snippet you can define one with and then use it with *import*.
-~~~ corefile {
+~~~ corefile
(mysnippet) {
log
whoami
@@ -73,7 +73,7 @@ If you want to reuse a snippet you can define one with and then use it with *imp
The **ZONE** is root zone `.`, the **PLUGIN** is chaos. The chaos plugin takes an argument:
`CoreDNS-001`. This text is returned on a CH class query: `dig CH txt version.bind @localhost`.
-~~~ Corefile
+~~~ corefile
. {
chaos CoreDNS-001
}
@@ -82,7 +82,7 @@ The **ZONE** is root zone `.`, the **PLUGIN** is chaos. The chaos plugin takes a
When defining a new zone, you either create a new server, or add it to an existing one. Here we
define one server that handles two zones; that potentially chain different plugins:
-~~~ Corefile
+~~~ corefile
example.org {
whoami
}
@@ -93,7 +93,7 @@ org {
Is identical to:
-~~~ Corefile
+~~~ corefile
example.org org {
whoami
}
@@ -101,7 +101,7 @@ example.org org {
Reverse zones can be specified as domain names:
-~~~ Corefile
+~~~ corefile
0.0.10.in-addr.arpa {
whoami
}
@@ -109,7 +109,7 @@ Reverse zones can be specified as domain names:
or by just using the CIDR notation:
-~~~ Corefile
+~~~ corefile
10.0.0.0/24 {
whoami
}
@@ -117,7 +117,7 @@ or by just using the CIDR notation:
This also works on a non octet boundary:
-~~~ Corefile
+~~~ corefile
10.0.0.0/27 {
whoami
}