mirror of
https://github.com/coredns/coredns.git
synced 2026-08-28 07:37:04 -04:00
plugin/etcd: allow disabling legacy apex fallback (#8468)
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
@@ -40,6 +40,8 @@ type Etcd struct {
|
||||
Client *etcdcv3.Client
|
||||
MinLeaseTTL uint32 // minimum TTL for lease-based records
|
||||
MaxLeaseTTL uint32 // maximum TTL for lease-based records
|
||||
// NoApexFallback disables the legacy zone-root lookup when apex.dns records are absent.
|
||||
NoApexFallback bool
|
||||
|
||||
endpoints []string // Stored here as well, to aid in testing.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user