Versions in this module Expand all Collapse all v0 v0.9.10 Nov 3, 2017 Changes in this version + type Transferer interface + MinTTL func(state request.Request) uint32 + Serial func(state request.Request) uint32 v0.9.9 Oct 18, 2017 Changes in this version + const Namespace + const TransportDNS + const TransportGRPC + const TransportTLS + func A(b ServiceBackend, zone string, state request.Request, previousRecords []dns.RR, ...) (records []dns.RR, err error) + func AAAA(b ServiceBackend, zone string, state request.Request, previousRecords []dns.RR, ...) (records []dns.RR, err error) + func BackendError(b ServiceBackend, zone string, rcode int, state request.Request, err error, ...) (int, error) + func CNAME(b ServiceBackend, zone string, state request.Request, opt Options) (records []dns.RR, err error) + func ClientWrite(rcode int) bool + func Error(name string, err error) error + func MX(b ServiceBackend, zone string, state request.Request, opt Options) (records, extra []dns.RR, err error) + func NS(b ServiceBackend, zone string, state request.Request, opt Options) (records, extra []dns.RR, err error) + func NextOrFailure(name string, next Handler, ctx context.Context, w dns.ResponseWriter, ...) (int, error) + func PTR(b ServiceBackend, zone string, state request.Request, opt Options) (records []dns.RR, err error) + func SOA(b ServiceBackend, zone string, state request.Request, opt Options) ([]dns.RR, error) + func SRV(b ServiceBackend, zone string, state request.Request, opt Options) (records, extra []dns.RR, err error) + func SplitHostPort(s string) (host, port string, err error) + func TXT(b ServiceBackend, zone string, state request.Request, opt Options) (records []dns.RR, err error) + type Handler interface + Name func() string + ServeDNS func(context.Context, dns.ResponseWriter, *dns.Msg) (int, error) + type HandlerFunc func(context.Context, dns.ResponseWriter, *dns.Msg) (int, error) + func (f HandlerFunc) Name() string + func (f HandlerFunc) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + type Host string + func (h Host) Normalize() string + type Name string + func (n Name) Matches(child string) bool + func (n Name) Normalize() string + type Options struct + type Plugin func(Handler) Handler + type ServiceBackend interface + IsNameError func(err error) bool + Lookup func(state request.Request, name string, typ uint16) (*dns.Msg, error) + Records func(state request.Request, exact bool) ([]msg.Service, error) + Reverse func(state request.Request, exact bool, opt Options) ([]msg.Service, error) + Services func(state request.Request, exact bool, opt Options) ([]msg.Service, error) + type Zones []string + func (z Zones) Matches(qname string) string + func (z Zones) Normalize() Other modules containing this package gopkg.in/coredns/coredns.v1