ixfr

package
v0.0.0-...-e920d93 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLoggerHandle

func SetLoggerHandle(fptr func(string, ...any) (int, error))

Types

type DiffSequence

type DiffSequence struct {
	StartSOASerial uint32
	EndSOASerial   uint32
	AddedRecords   []dns.RR
	DeletedRecords []dns.RR
}

func CreateDiffSequence

func CreateDiffSequence(soaStart, soaEnd uint32) DiffSequence

func (*DiffSequence) AddAdded

func (self *DiffSequence) AddAdded(rrStr string)

func (*DiffSequence) AddDeleted

func (self *DiffSequence) AddDeleted(rrStr string)

func (*DiffSequence) Equals

func (self *DiffSequence) Equals(other DiffSequence) bool

func (*DiffSequence) GetAdded

func (self *DiffSequence) GetAdded() []dns.RR

func (*DiffSequence) GetDeleted

func (self *DiffSequence) GetDeleted() []dns.RR

type Ixfr

type Ixfr struct {
	InitialSOASerial uint32
	FinalSOASerial   uint32
	IsAxfr           bool
	DiffSequences    []DiffSequence
	AxfrRRs          []dns.RR
}

func IxfrFromResponse

func IxfrFromResponse(rsp *dns.Msg) Ixfr

func (*Ixfr) AddDiffSequence

func (self *Ixfr) AddDiffSequence(ds DiffSequence)

func (*Ixfr) Equals

func (self *Ixfr) Equals(other Ixfr) bool

func (*Ixfr) GetAdded

func (self *Ixfr) GetAdded() []dns.RR

func (*Ixfr) GetCompressed

func (self *Ixfr) GetCompressed() DiffSequence

func (*Ixfr) GetDeleted

func (self *Ixfr) GetDeleted() []dns.RR

Jump to

Keyboard shortcuts

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