mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 10:25:10 -05:00
@@ -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]
|
||||
~~~
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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...]
|
||||
~~~
|
||||
|
||||
@@ -29,3 +29,7 @@ transfer [ZONE...] {
|
||||
|
||||
* `to ` **HOST...** The hosts *transfer* will transfer to. Use `*` to permit
|
||||
transfers to all hosts.
|
||||
|
||||
## Examples
|
||||
|
||||
TODO
|
||||
|
||||
Reference in New Issue
Block a user