mirror of
https://github.com/coredns/coredns.git
synced 2026-07-11 18:20:10 -04:00
plugin/auto: warn on duplicate zone file origins (#8191)
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
@@ -28,7 +28,8 @@ are used.
|
||||
like `{<number>}` are replaced with the respective matches in the file name, e.g. `{1}` is the
|
||||
first match, `{2}` is the second. The default is: `db\.(.*) {1}` i.e. from a file with the
|
||||
name `db.example.com`, the extracted origin will be `example.com`. **REGEXP** must not be longer
|
||||
than 10000 characters.
|
||||
than 10000 characters. **REGEXP** is unanchored; use `^` and `$` to require matching the full
|
||||
file name, for example `^(.*)\.zone$` to avoid matching backup files like `example.org.zone.bak`.
|
||||
* `reload` interval to perform reloads of zones if SOA version changes and zonefiles. It specifies how often CoreDNS should scan the directory to watch for file removal and addition. 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.
|
||||
|
||||
Reference in New Issue
Block a user