Documentation
¶
Overview ¶
Package dns handles all of the data structures and logic required to interact with DNS data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverDomainCerts ¶
func DiscoverDomainCerts(ctx context.Context, domain string) (*dnsfern.DiscoverDnsCertsReport, error)
DiscoverDomainCerts queries crt.sh for all certificates for a given domain. Returns a report containing all certificates and any errors encountered.
func DiscoverDomainDNSRecords ¶
func DiscoverDomainDNSRecords(ctx context.Context, domain string) (*dnsfern.DiscoverDnsRecordsReport, error)
DiscoverDomainDNSRecords queries DNS for all records for a given domain. Returns a report containing all records and any non-fatal errors encountered.
func GetReverseForwardDNSLookup ¶
func GetReverseForwardDNSLookup(fqdn string) dnsfern.DiscoverDnsReverseForwardReport
GetReverseForwardDNSLookup performs both forward (A/AAAA) and reverse (PTR) DNS lookups for a given FQDN. Returns a report containing all resolved IPs and their associated hostnames, along with any errors encountered.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.