crds

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDS

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

func New

func New(external string) (*CRDS, error)

func (*CRDS) Name

func (p *CRDS) Name() string

func (*CRDS) ServeDNS

func (p *CRDS) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)

ServeDNS implements the plugin.Handle interface.

type Provider

type Provider interface {
	Zones() file.Zones
	Run() error
}

func NewProvider

func NewProvider(ctx context.Context, externalAddress net.IP) (Provider, error)

Jump to

Keyboard shortcuts

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