dnsseed

package
v0.0.0-...-c4ab804 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RandChainSeeder

type RandChainSeeder struct {
	Next  plugin.Handler
	Zones []string
	// contains filtered or unexported fields
}

RandChainSeeder discovers IP addresses by asking peers for them.

func (RandChainSeeder) Name

func (rcs RandChainSeeder) Name() string

Name satisfies the Handler interface.

func (RandChainSeeder) Ready

func (rcs RandChainSeeder) Ready() bool

Ready implements the ready.Readiness interface, once this flips to true CoreDNS assumes this plugin is ready for queries; it is not checked again.

func (RandChainSeeder) ServeDNS

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

Jump to

Keyboard shortcuts

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