dns

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package dns implements a DNS resolution health check using a minimal in-tree DNS client (no third-party dependency). For each target it queries one or more resolvers and flags: records that don't resolve, drift from an expected value, TTL below a threshold, and answers that diverge across resolvers (including SOA serial mismatches — a propagation problem).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// contains filtered or unexported fields
}

func New

func New(cfg engine.DNSConfig) *Check

func (*Check) Name

func (c *Check) Name() string

func (*Check) Run

func (c *Check) Run(ctx context.Context) []engine.Finding

Jump to

Keyboard shortcuts

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