dnsserver

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCA

func CreateCA(tmpl *x509.Certificate) (pkey crypto.PrivateKey, cert *x509.Certificate, err error)

func StartDNSServer

func StartDNSServer(ctx context.Context, sshfpDN string, algo uint8, key ssh.PublicKey, fm FailureModes) (udpPort, tcpPort, tlsPort, httpPort int, rootCACert *x509.Certificate, err error)

Types

type FailureModes

type FailureModes struct {
	FailOnDNSSEC   bool
	FailOnlySHA1   bool
	FailOnNXDomain bool
}

Jump to

Keyboard shortcuts

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