sdkdig

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dig

type Dig struct {
	Retry      uint
	Protocol   string
	LocalAddr  string
	RemoteAddr string
	EDNSSubnet net.IP
}

Dig copied from https://github.com/lixiangzhong/dnsutil with modification.

func (*Dig) A

func (d *Dig) A(ctx context.Context, domain string) (As []*dns.A, err error)

A ...

func (*Dig) AAAA

func (d *Dig) AAAA(ctx context.Context, domain string) (aaaa []*dns.AAAA, err error)

AAAA ...

func (*Dig) CAA

func (d *Dig) CAA(ctx context.Context, domain string) (C []*dns.CAA, err error)

CAA ...

func (*Dig) CNAME

func (d *Dig) CNAME(ctx context.Context, domain string) (C []*dns.CNAME, err error)

CNAME ...

func (*Dig) MX

func (d *Dig) MX(ctx context.Context, domain string) (M []*dns.MX, err error)

MX ...

func (*Dig) NS

func (d *Dig) NS(ctx context.Context, domain string) (Ns []*dns.NS, err error)

NS ...

func (*Dig) PTR

func (d *Dig) PTR(ctx context.Context, domain string) (P []*dns.PTR, err error)

PTR ...

func (*Dig) SPF

func (d *Dig) SPF(ctx context.Context, domain string) (S []*dns.SPF, err error)

SPF ...

func (*Dig) SRV

func (d *Dig) SRV(ctx context.Context, domain string) (S []*dns.SRV, err error)

SRV ...

func (*Dig) TXT

func (d *Dig) TXT(ctx context.Context, domain string) (T []*dns.TXT, err error)

TXT ...

Jump to

Keyboard shortcuts

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