dns

package
v0.0.0-...-4d456dd Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 4 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 {
	Server   string
	Resolver *net.Resolver
}

func New

func New(server string) (*DNS, error)

func (*DNS) LookUpNS

func (dns *DNS) LookUpNS(domain string) []string

func (*DNS) LookupIPAddr

func (dns *DNS) LookupIPAddr(domain string) []string

Jump to

Keyboard shortcuts

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