dnsmanager

package
v0.0.0-...-34b1662 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDNSServersTable

func GenerateDNSServersTable(hosts []string) bool

GenerateDNSServersTable desc

func PrintDNSServerList

func PrintDNSServerList()

PrintDNSServerList desc

func ReportDNSError

func ReportDNSError(host string, errorsLimit int)

ReportDNSError desc

func ReturnDNSServersSlice

func ReturnDNSServersSlice() []string

ReturnDNSServersSlice desc

Types

type DNSServerEntry

type DNSServerEntry struct {
	Host   string
	Status bool
	Errors int
}

DNSServerEntry desc

func ReturnFullServersList

func ReturnFullServersList() ([]DNSServerEntry, int)

ReturnFullServersList desc

func ReturnRandomDNSServerEntry

func ReturnRandomDNSServerEntry() DNSServerEntry

ReturnRandomDNSServerEntry desc

Jump to

Keyboard shortcuts

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