ipindn

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPinDN

type IPinDN struct {
	Next plugin.Handler
	Fall fall.F

	// Origins is a list of zones we are authoritative for
	Origins []string
	// TTL sets the response TTL
	TTL uint32
}

func (IPinDN) Name

func (p IPinDN) Name() string

Name implements the Handler interface.

func (IPinDN) ServeDNS

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

ServeDNS implements the middleware.Handler interface.

Jump to

Keyboard shortcuts

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