dns

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host string
}

type Result

type Result struct {
	CNAME   string
	Domains []string
	IPs     []net.IP
	MXs     []*net.MX
	NSs     []*net.NS
	TXTs    []string
}

type Runner

type Runner struct {
	Config Config
	Result Result
}

func NewRunner

func NewRunner(host string) Runner

func (*Runner) Print

func (r *Runner) Print()

Print the result

func (*Runner) Run

func (r *Runner) Run() error

Execute DNS query

Jump to

Keyboard shortcuts

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