dns

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSFactory

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

func NewDNSFactory

func NewDNSFactory(driver vmnet.NetDriver) *DNSFactory

func (*DNSFactory) Lookup

func (f *DNSFactory) Lookup(host string, args ...int) ([]string, error)

func (*DNSFactory) LookupAddr added in v1.0.2

func (f *DNSFactory) LookupAddr(host string, args ...int) ([]string, error)

func (*DNSFactory) LookupCNAME added in v1.0.2

func (f *DNSFactory) LookupCNAME(host string, args ...int) (string, error)

func (*DNSFactory) LookupHost added in v1.0.2

func (f *DNSFactory) LookupHost(host string, args ...int) ([]string, error)

func (*DNSFactory) LookupMX added in v1.0.2

func (f *DNSFactory) LookupMX(host string, args ...int) ([]*net.MX, error)

func (*DNSFactory) LookupNS added in v1.0.2

func (f *DNSFactory) LookupNS(host string, args ...int) ([]*net.NS, error)

func (*DNSFactory) LookupTXT added in v1.0.2

func (f *DNSFactory) LookupTXT(host string, args ...int) ([]string, error)

Jump to

Keyboard shortcuts

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