dns

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 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 DNSUtil

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

func New

func New(client *x.Client, resolver string, logger *slog.Logger) *DNSUtil

func (*DNSUtil) GetARecords

func (d *DNSUtil) GetARecords(target string) ([]string, error)

leaving this note for future me: maybe asking for As is not enough? what about CNAMEs, or AAAAs, etc..

func (*DNSUtil) GetTxtRecords

func (d *DNSUtil) GetTxtRecords(target string) ([]string, error)

Jump to

Keyboard shortcuts

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