zone

package
v0.0.0-...-103085b Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSOArecord

func GetSOArecord(domain string, zoneFile string) dns.RR

func New

func New(next pigdns.Handler, domain string, zoneFile string) pigdns.Handler

func ZoneFileInst

func ZoneFileInst(zoneFilePath string, domain string) *zoneFile

Types

type Handler

type Handler struct {
	Next pigdns.Handler
	// contains filtered or unexported fields
}

func (*Handler) ServeDNS

func (h *Handler) ServeDNS(c context.Context, r *pigdns.Request)

Jump to

Keyboard shortcuts

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