dns

package
v0.0.99 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResolveResult

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

func (*ResolveResult) A

func (r *ResolveResult) A() string

func (*ResolveResult) CNAME

func (r *ResolveResult) CNAME() string

func (*ResolveResult) String

func (r *ResolveResult) String() string

type Resolver

type Resolver struct {
	Timeout     time.Duration
	Nameservers []string
}

func (Resolver) Lookup

func (d Resolver) Lookup(fqdn string) (*ResolveResult, error)

Jump to

Keyboard shortcuts

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