presubmit: test README.md sections (#3644)

Automatically submitted.
This commit is contained in:
Miek Gieben
2020-01-31 12:37:24 +01:00
committed by GitHub
parent 510f2c503d
commit f77c6e55bf
7 changed files with 62 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ A plugin interested in the cancellation status should call `plugin.Done()` on th
context was canceled due to a timeout the plugin should not write anything back to the client and
return a value indicating CoreDNS should not either; a zero return value should suffice for that.
## Syntax
~~~ txt
cancel [TIMEOUT]
~~~

View File

@@ -57,7 +57,7 @@ k8s_external [ZONE...] {
* **APEX** is the name (DNS label) to use for the apex records; it defaults to `dns`.
* `ttl` allows you to set a custom **TTL** for responses. The default is 5 (seconds).
# Examples
## Examples
Enable names under `example.org` to be resolved to in-cluster DNS addresses.

View File

@@ -37,6 +37,8 @@ will behave as follows:
* `continue` will continue applying the next rule in the rule list.
* `stop` will consider the current rule the last rule and will not continue. The default behaviour is `stop`
## Examples
### Name Field Rewrites
The `rewrite` plugin offers the ability to match the name in the question section of

View File

@@ -10,6 +10,8 @@ With *secondary* you can transfer (via AXFR) a zone from another server. The ret
*not committed* to disk (a violation of the RFC). This means restarting CoreDNS will cause it to
retrieve all secondary zones.
## Syntax
~~~
secondary [ZONES...]
~~~

View File

@@ -29,3 +29,7 @@ transfer [ZONE...] {
* `to ` **HOST...** The hosts *transfer* will transfer to. Use `*` to permit
transfers to all hosts.
## Examples
TODO