Help us shape the future of Go! Take the 2026 Go Developer Survey

dns

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheLookup added in v0.38.9

func CacheLookup(recordType, hostname string) ([]net.IP, error)

func Lookup

func Lookup(recordType, hostname string) ([]net.IP, error)

Types

type Cache added in v0.38.9

type Cache struct {
	*marshaler.Marshaler
}

func NewCache added in v0.38.9

func NewCache() (*Cache, error)

type IPs added in v0.38.9

type IPs []net.IP

Jump to

Keyboard shortcuts

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