dns

package
v0.0.0-...-891ad17 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lookup

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

Lookup holds the DNS information we care about

func LookupAddress

func LookupAddress(address string) (*Lookup, error)

LookupAddress returns a DNSLookup consisting of a cname and host for a given address

func (*Lookup) String

func (d *Lookup) String() string

We can use this to print the lookup object

Jump to

Keyboard shortcuts

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