query

package
v0.0.0-...-7a25008 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDomains

func CheckDomains(id int, in, retries chan string, out chan Result, dnsServers []string, proto string)

CheckDomains check if each domain

Types

type Result

type Result struct {
	Domain string
	Rcode  int
	// contains filtered or unexported fields
}

Result represent a DNS query result

func (Result) Available

func (dr Result) Available() bool

Available return true if the domain is available (DNS NXDOMAIN)

func (Result) String

func (dr Result) String(simple bool) string

Format Result into string for output file

Jump to

Keyboard shortcuts

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