server

package
v0.0.0-...-ad8ccd3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSHandler

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

func (*DNSHandler) InitFromEnv

func (h *DNSHandler) InitFromEnv()

func (*DNSHandler) ResolveRRs

func (h *DNSHandler) ResolveRRs(question dns.Question) ([]dns.RR, int)

Resolve a question into an answer, an extra record and a response code

func (*DNSHandler) ServeDNS

func (h *DNSHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg)

Jump to

Keyboard shortcuts

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