package
0.0.0-20241005165219-eb1bcf33780f
Repository: https://github.com/root4loot/goutils.git
Documentation: pkg.go.dev

# Functions

GetRootDomain returns the root domain of a domain.
GetRootDomains returns a list of unique root domains for a slice of domains.
IsDomainName checks if a string is a valid domain name.
IsHostname checks if the given target is a valid hostname.
IsValidDomain checks if a string is a valid domain name.
ResolveDomain resolves a domain name to an IP address (IPv4 or IPv6).
ResolveDomainWithTimeout resolves a domain name to an IP address (IPv4 or IPv6) with a timeout.