cdr

package
v0.0.0-...-98addd5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAADistributedResolver

type CAADistributedResolver struct {
	URI     string
	Clients map[string]*http.Client
	// contains filtered or unexported fields
}

CAADistributedResolver holds state needed to talk to GPDNS

func New

func New(scope metrics.Scope, timeout time.Duration, maxFailures int, proxies []string, logger blog.Logger) (*CAADistributedResolver, error)

New returns an initialized CAADistributedResolver which requires a M of N quorum to succeed where N = len(proxies) and M = N - maxFailures

func (*CAADistributedResolver) LookupCAA

func (cdr *CAADistributedResolver) LookupCAA(ctx context.Context, domain string) ([]*dns.CAA, error)

LookupCAA performs a multipath CAA DNS lookup using GPDNS

Jump to

Keyboard shortcuts

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