dnsclient

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dns

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

func New

func New() *Dns

func (*Dns) A

func (c *Dns) A(host string) (records []string, err error)

func (*Dns) CNAME

func (c *Dns) CNAME(host string) (records string, err error)

func (*Dns) MX

func (c *Dns) MX(host string) ([]string, error)

func (*Dns) TXT

func (c *Dns) TXT(host string) (records []string, err error)

Jump to

Keyboard shortcuts

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