Versions in this module Expand all Collapse all v1 v1.11.1 Mar 21, 2024 Changes in this version + const MaxSerialIncrement + type Apex struct + NS []dns.RR + SIGNS []dns.RR + SIGSOA []dns.RR + SOA *dns.SOA + type File struct + Next plugin.Handler + func (f File) Name() string + func (f File) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + func (f File) Transfer(zone string, serial uint32) (<-chan []dns.RR, error) + type Result int + const Delegation + const NameError + const NoData + const ServerFailure + const Success + type Zone struct + Expired bool + ReloadInterval time.Duration + StartupOnce sync.Once + TransferFrom []string + Upstream *upstream.Upstream + func NewZone(name, file string) *Zone + func Parse(f io.Reader, origin, fileName string, serial int64) (*Zone, error) + func (z *Zone) ApexIfDefined() ([]dns.RR, error) + func (z *Zone) ClosestEncloser(qname string) (*tree.Elem, bool) + func (z *Zone) Copy() *Zone + func (z *Zone) CopyWithoutApex() *Zone + func (z *Zone) File() string + func (z *Zone) Insert(r dns.RR) error + func (z *Zone) Lookup(ctx context.Context, state request.Request, qname string) ([]dns.RR, []dns.RR, []dns.RR, Result) + func (z *Zone) OnShutdown() error + func (z *Zone) Reload(t *transfer.Transfer) error + func (z *Zone) SOASerialIfDefined() int64 + func (z *Zone) SetFile(path string) + func (z *Zone) Transfer(serial uint32) (<-chan []dns.RR, error) + func (z *Zone) TransferIn() error + func (z *Zone) Update() error + type Zones struct + Names []string + Z map[string]*Zone