Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a DNS server which implements the github.com/miekg/dns Handler interface
func NewServer ¶
func NewServer(c context.Context, listeners []net.PacketConn, fallback *dns.Conn, resolve Resolver) *Server
NewServer returns a new dns.Server
func (*Server) RequestCount ¶ added in v2.3.0
RequestCount returns the number of requests that this server has received.
Click to show internal directories.
Click to hide internal directories.