dns

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: May 21, 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. It returns a CertsReport struct containing all certificates and any errors that occurred.

func DiscoverDomainDNSRecords

func DiscoverDomainDNSRecords(ctx context.Context, domain string) (*dnsFern.DiscoverDnsRecordsReport, error)

DiscoverDomainDNSRecords queries DNS for all records for a given domain. It returns a RecordsReport struct containing all records that were and any non-fatal errors that occurred.

func GetReverseForwardDNSLookup

func GetReverseForwardDNSLookup(fqdn string) dnsFern.DiscoverDnsReverseForwardReport

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