dnsserver

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(dnsPort int, dnsProtocol string, localDomain string)

Start setup dns server

Types

type DnsServer

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

DnsServer nds server

func (*DnsServer) ServeDNS

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

ServeDNS query DNS record

Jump to

Keyboard shortcuts

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