dns

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	IPv6 bool
	// contains filtered or unexported fields
}

func (*Handler) ServeDNS

func (h *Handler) ServeDNS(w dns.ResponseWriter, req *dns.Msg)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func Start

func Start(udpLocalPort, tcpLocalPort int, IPv6 bool) (*Server, error)

func (*Server) Shutdown

func (s *Server) Shutdown()

Jump to

Keyboard shortcuts

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