aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/file/README.md')
-rw-r--r--plugin/file/README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugin/file/README.md b/plugin/file/README.md
index 1643251c2..8f7bdbf97 100644
--- a/plugin/file/README.md
+++ b/plugin/file/README.md
@@ -27,6 +27,7 @@ If you want to round robin A and AAAA responses look at the *loadbalance* plugin
~~~
file DBFILE [ZONES... ] {
transfer to ADDRESS...
+ reload DURATION
no_reload
upstream [ADDRESS...]
}
@@ -36,8 +37,10 @@ file DBFILE [ZONES... ] {
the direction. **ADDRESS** 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 try to reload a zone every minute and reloads if the
- SOA's serial has changed. This option disables that behavior.
+* `reload` interval to perform reload of zone if SOA version changes. Default is one minute.
+ Value of `0` means to not scan for changes and reload. eg. `30s` checks zonefile every 30 seconds
+ and reloads zone when serial changes.
+* `no_reload` deprecated. Sets reload to 0.
* `upstream` defines upstream resolvers to be used resolve external names found (think CNAMEs)
pointing to external names. This is only really useful when CoreDNS is configured as a proxy, for
normal authoritative serving you don't need *or* want to use this. **ADDRESS** can be an IP