dns

package
v0.0.0-...-97baaf9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExcludeMap       map[string]struct{}
	DefaultResolvers = []string{
		"1.1.1.1:53",
		"1.0.0.1:53",
		"8.8.8.8:53",
		"8.8.4.4:53",
		"9.9.9.9:53",
		"9.9.9.10:53",
		"77.88.8.8:53",
		"77.88.8.1:53",
		"208.67.222.222:53",
		"208.67.220.220:53",
	}
)

Functions

func ExtractHostname

func ExtractHostname(item string) string

func GetUniqueDomains

func GetUniqueDomains(first, second []string) []string

func ValidateFQDN

func ValidateFQDN(value string) bool

Types

type ChaosList

type ChaosList struct {
	Programs []ChaosProgram `json:"programs"`
}

type ChaosProgram

type ChaosProgram struct {
	Name    string   `json:"name"`
	URL     string   `json:"url"`
	Bounty  bool     `json:"bounty"`
	Swag    bool     `json:"swag"`
	Domains []string `json:"domains"`
}

ChaosProgram json data item struct

Jump to

Keyboard shortcuts

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