Versions in this module Expand all Collapse all v0 v0.1.0 Oct 4, 2026 Changes in this version + const Name + var DefaultInactivityTimeout = 1 * time.Minute + var DefaultKeepAliveInterval = dsomessage.KeepAliveIntervalRecommended * time.Millisecond + var DefaultPushBurstDebounceInterval = 1 * time.Second + var DefaultPushClasses = [...]uint16 + var DefaultPushRefreshInterval = 1 * time.Minute + var DefaultPushTypes = [...]uint16 + var DefaultRestartReconnectInterval = 5 * time.Second + var DefaultShutdownReconnectInterval = 15 * time.Second + var DefaultTCPPort = 0 + var DefaultTLSPort = 0 + var ErrServerClosed = errors.New("server closed") + type Config struct + InactivityTimeout time.Duration + KeepAliveInterval time.Duration + Log *LogConfig + Push *PushConfig + RestartReconnectInterval time.Duration + ShutdownReconnectInterval time.Duration + TCPPort int + TLSConfig *tls.Config + TLSPort int + type LogConfig struct + type PushConfig struct + Classes []uint16 + DebounceDelay time.Duration + RefreshInterval time.Duration + Types []uint16 + Zones []string + type Server struct + Config *Config + Upstream *dnsserver.Server + func Servers(inst *caddy.Instance) (servers []*Server) + func (s *Server) RefreshPushSubscriptions() + func (s *Server) Serve(ln net.Listener) error + func (s *Server) ServeTLS(ln net.Listener) error + func (s *Server) Shutdown(ctx context.Context, reconnectInterval time.Duration) error