dns

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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