Versions in this module Expand all Collapse all v1 v1.0.0 Sep 26, 2024 Changes in this version + func GetBindInterface(ifacename string) (*net.Interface, error) + func GetIndex(host string) string + type MDNS struct + Domain string + Next plugin.Handler + func (m *MDNS) BrowseMDNS() + func (m MDNS) AddARecord(msg *dns.Msg, state *request.Request, hosts map[string]*zeroconf.ServiceEntry, ...) bool + func (m MDNS) Name() string + func (m MDNS) ReplaceDomain(input string) string + func (m MDNS) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + type ResolverInterface interface + Browse func(context.Context, string, string, chan<- *zeroconf.ServiceEntry) error + type ResponsePrinter struct + func NewResponsePrinter(w dns.ResponseWriter) *ResponsePrinter + func (r *ResponsePrinter) WriteMsg(res *dns.Msg) error + type ZeroconfImpl struct + func (z ZeroconfImpl) NewResolver(opts ...zeroconf.ClientOption) (ResolverInterface, error) + type ZeroconfInterface interface + NewResolver func(...zeroconf.ClientOption) (ResolverInterface, error)