Versions in this module Expand all Collapse all v0 v0.0.11 Aug 3, 2023 v0.0.10 Feb 6, 2023 Changes in this version + type Gateway struct + func NewGateway(opts Opts) *Gateway + func (gw *Gateway) A(state request.Request, results []net.IP, ttl endpoint.TTL) (records []dns.RR) + func (gw *Gateway) Name() string + func (gw *Gateway) ServeDNS(_ context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + func (gw *Gateway) TXT(state request.Request, results []string, ttl endpoint.TTL) (records []dns.RR) + type Opts struct + func NewGatewayOpts(annotation, apex string, ttlLow, ttlHigh uint32, zones []string) Opts