resolvers

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GSLBHandler

type GSLBHandler struct {
	// contains filtered or unexported fields
}

func NewGSLBHandler

func NewGSLBHandler(lbFactory *lb.LBFactory, trustEdns bool, allowedInspect []*config.CIDR) *GSLBHandler

func (*GSLBHandler) RemoveCatalogEntry

func (h *GSLBHandler) RemoveCatalogEntry(entry *entries.Entry)

func (*GSLBHandler) Resolve

func (h *GSLBHandler) Resolve(ctx context.Context, fqdn string, queryType uint16) []dns.RR

func (*GSLBHandler) ServeDNS

func (h *GSLBHandler) ServeDNS(w dns.ResponseWriter, msg *dns.Msg)

func (*GSLBHandler) SetCatalogEntry

func (h *GSLBHandler) SetCatalogEntry(entry *entries.Entry)

Jump to

Keyboard shortcuts

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