dns

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DnsDMapName = "_apoxy_dns"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

func NewResolver

func NewResolver(store *kvstore.Store) *Resolver

func (*Resolver) ServeDNS

func (r *Resolver) ServeDNS(w dns.ResponseWriter, req *dns.Msg)

func (*Resolver) Start

func (r *Resolver) Start(
	ctx context.Context,
	addr string,
) error

Jump to

Keyboard shortcuts

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