diff options
Diffstat (limited to 'plugin/auto/README.md')
-rw-r--r-- | plugin/auto/README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugin/auto/README.md b/plugin/auto/README.md index 4bb36f359..7e3eedb77 100644 --- a/plugin/auto/README.md +++ b/plugin/auto/README.md @@ -16,6 +16,7 @@ zonefile. New or changed zones are automatically picked up from disk. ~~~ auto [ZONES...] { directory DIR [REGEXP ORIGIN_TEMPLATE [TIMEOUT]] + reload DURATION no_reload upstream [ADDRESS...] } @@ -31,8 +32,10 @@ are used. name `db.example.com`, the extracted origin will be `example.com`. **TIMEOUT** specifies how often CoreDNS should scan the directory; the default is every 60 seconds. This value is in seconds. The minimum value is 1 second. -* `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. **ADDRESS** can be an IP address, an IP:port or a string pointing to a file that is structured as /etc/resolv.conf. If no **ADDRESS** is given, CoreDNS will resolve CNAMEs |