dnsseed

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 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 ZcashSeeder

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

ZcashSeeder discovers IP addresses by asking Zcash peers for them.

func (ZcashSeeder) Name

func (zs ZcashSeeder) Name() string

Name satisfies the Handler interface.

func (ZcashSeeder) Ready

func (zs ZcashSeeder) 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 (ZcashSeeder) ServeDNS

func (zs ZcashSeeder) 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