dns

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	ID     uint16
	Domain string
	// contains filtered or unexported fields
}

func NewEndpoint

func NewEndpoint(domain string) *Endpoint

NewEndpoint support single domain query

func (*Endpoint) Close

func (e *Endpoint) Close()

Close close

func (*Endpoint) GetResp

func (e *Endpoint) GetResp() *header.DNS

GetResp()

func (*Endpoint) Resolve

func (e *Endpoint) Resolve() (*[]header.DNSResource, error)

Resolve

Jump to

Keyboard shortcuts

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