mirror of
https://github.com/coredns/coredns.git
synced 2026-09-01 09:37:05 -04:00
plugin/etcd: allow disabling legacy apex fallback (#8468)
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
@@ -62,6 +62,11 @@ func etcdParse(c *caddy.Controller) (*Etcd, error) {
|
||||
etc.Fall.SetZonesFromArgs(c.RemainingArgs())
|
||||
case "debug":
|
||||
/* it is a noop now */
|
||||
case "no_apex_fallback":
|
||||
if len(c.RemainingArgs()) != 0 {
|
||||
return &Etcd{}, c.ArgErr()
|
||||
}
|
||||
etc.NoApexFallback = true
|
||||
case "path":
|
||||
if !c.NextArg() {
|
||||
return &Etcd{}, c.ArgErr()
|
||||
|
||||
Reference in New Issue
Block a user