dnscli

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(db *database.Database) *Client

func (*Client) Down

func (o *Client) Down(_ ctx.Context) error

func (*Client) Exchange

func (o *Client) Exchange(msg *dns.Msg, addrs []string) (resp *dns.Msg, err error)

func (*Client) ExchangeRandomDNS

func (o *Client) ExchangeRandomDNS(msg *dns.Msg) (*dns.Msg, error)

func (*Client) Up

func (o *Client) Up(ctx ctx.Context) error

func (*Client) UpgradeNS added in v1.4.0

func (o *Client) UpgradeNS(ctx context.Context)

Jump to

Keyboard shortcuts

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