Versions in this module Expand all Collapse all v0 v0.1.0 Jul 9, 2021 Changes in this version + const PluginName + type CAAValue struct + Flags uint8 + Tag string + Value string + type Condition map[string]interface + type FNS struct + Next plugin.Handler + RRsRepo RRsRepository + func (f *FNS) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + func (f FNS) Name() string + func (f FNS) Resolve(name string, rrType, rrClass uint16) []dns.RR + type MXValue struct + Domain string + Priority uint16 + type RR struct + Domain string + Name string + TTL uint32 + Value string + func (rr RR) ValueToCAA() (v CAAValue) + func (rr RR) ValueToMX() (v MXValue) + func (rr RR) ValueToSRV() (v SRVValue) + type RRsRepository interface + GetRRs func(cond Condition) []RR + func NewRRsSDK(apiURL string) RRsRepository + type SRVValue struct + Port uint16 + Priority uint16 + Target string + Weight uint16