dns

package
v0.0.0-...-01d4b77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	closer.Closer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cl closer.Closer, udpListenAddr, tcpListenAddr string, d *db.DB) (s *Server)

func (*Server) Run

func (s *Server) Run()

func (*Server) ServeDNS

func (s *Server) ServeDNS(w dns.ResponseWriter, req *dns.Msg)

ServeDNS implements the dns server handler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL