aboutsummaryrefslogtreecommitdiff
path: root/middleware
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-09-18 09:32:06 +0100
committerGravatar GitHub <noreply@github.com> 2016-09-18 09:32:06 +0100
commitb440b1c8f63952a0a4457468e60276995d8b676c (patch)
tree1f13e2d8f10fbe16809654d32799d61730129e60 /middleware
parentffa5530d0f0c6d993237148a395ac774affc3ba4 (diff)
downloadcoredns-b440b1c8f63952a0a4457468e60276995d8b676c.tar.gz
coredns-b440b1c8f63952a0a4457468e60276995d8b676c.tar.zst
coredns-b440b1c8f63952a0a4457468e60276995d8b676c.zip
docs: document default startup (#266)
Some small additions to the documentation.
Diffstat (limited to 'middleware')
-rw-r--r--middleware/file/README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/middleware/file/README.md b/middleware/file/README.md
index 1a04cb3d6..bb7bfbdd7 100644
--- a/middleware/file/README.md
+++ b/middleware/file/README.md
@@ -31,17 +31,20 @@ file dbfile [zones... ] {
~~~
* `transfer` enables zone transfers. It may be specified multiples times. *To* or *from* signals
- the direction. Addresses must be denoted in CIDR notation (127.0.0.1/32 etc.) or just as plain
- addresses. The special wildcard "*" means: the entire internet (only valid for 'transfer to').
+ the direction. Addresses must be denoted in CIDR notation (127.0.0.1/32 etc.) or just as plain
+ addresses. The special wildcard `*` means: the entire internet (only valid for 'transfer to').
+ When an address is specified a notify message will be send whenever the zone is reloaded.
* `no_reload` by default CoreDNS will reload a zone from disk whenever it detects a change to the
file. This option disables that behavior.
## Examples
-Load the `miek.nl` zone from `miek.nl.signed` and allow transfers to the internet.
+Load the `example.org` zone from `example.org.signed` and allow transfers to the internet, but send
+notifies to 10.240.1.1
~~~
-file miek.nl.signed miek.nl {
+file example.org.signed example.org {
transfer to *
+ transfer to 10.240.1.1
}
~~~