soa

package
v0.0.0-...-caa851c Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

func NewGenerator

func NewGenerator(cfg *GeneratorConfig, currentTime time.Time) *Generator

func (*Generator) RetrieveOrCreateSOAEntry

func (g *Generator) RetrieveOrCreateSOAEntry(kv store.Store, zone string) (entry *store.Entry, err error)

type GeneratorConfig

type GeneratorConfig struct {
	SoaNameServer string
	SoaEmailAddr  string
	SoaRefresh    int32
	SoaRetry      int32
	SoaExpiry     int32
	SoaNx         int32
	DefaultTTL    uint32
}

Jump to

Keyboard shortcuts

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