static

package
v0.0.0-...-40a1a08 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSSECConfig

type DNSSECConfig struct {
	Zone string `yaml:"zone"`

	PublicZSKFile   string `yaml:"public-zsk"`
	PrivateZSKFile  string `yaml:"private-zsk"`
	PublicKSKFile   string `yaml:"public-ksk"`
	PrivateKSKFile  string `yaml:"private-ksk"`
	CacheSignatures bool   `yaml:"cache-signatures"`
}

type Generator

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

func New

func New(enableFSNotify bool, mux dns.Handler, dnssec *DNSSECConfig) *Generator

func (*Generator) AddRecord

func (r *Generator) AddRecord(rr dns.RR)

func (*Generator) AddSubHandler

func (r *Generator) AddSubHandler(name string, handler handler.Generator)

func (*Generator) GetName

func (r *Generator) GetName() string

func (*Generator) HandleQuestion

func (r *Generator) HandleQuestion(questions []dns.Question, recurse bool, dnssec bool, wr util.Addressable) ([]dns.RR, []dns.RR, []dns.EDNS0, int, string)

func (*Generator) LoadZone

func (r *Generator) LoadZone(rd io.Reader, file string, origin string, defaultTTL uint32, includeAllowed bool) error

func (*Generator) LoadZoneFile

func (r *Generator) LoadZoneFile(file string, origin string, defaultTTL uint32, includeAllowed bool) error

func (*Generator) Refresh

func (r *Generator) Refresh() error

func (*Generator) Start

func (r *Generator) Start() error

func (*Generator) Stop

func (r *Generator) Stop() error

Jump to

Keyboard shortcuts

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