Skip to main content

Module validation

Module validation 

Source
Expand description

Stable domain types for DNS endpoint validation reports.

This module contains stable serializable data shapes and resolver endpoint abstractions. Record comparison logic lives in later validation layers.

Structs§

EndpointValidationReport
Validation results collected from one configured endpoint.
ExpectedRecord
A DNS record expected to be visible at a validation endpoint.
HickoryDnsEndpointResolver
Production resolver backed by Hickory’s async Tokio resolver.
ObservedRecord
A DNS record observed from a validation endpoint.
RecordMismatch
A difference between expected and observed DNS record values.
RecordValidationResult
Validation result for one expected record.
SkippedRecord
A record that validation intentionally skipped.
ValidationOptions
Options that control whether and where validation runs.
ValidationReport
Stable validation report shape for record lists and transfer pre/post checks.
ValidationRequest
Validation input for a record list, import, export, or transfer phase.

Enums§

ValidationFailureKind
Stable categories for endpoint-level validation failures.
ValidationStatus
Stable validation status values used at report, endpoint, and record level.

Traits§

DnsEndpointResolver
Async DNS endpoint resolver abstraction used by validation code.

Functions§

compare_rrsets
Compare normalized expected and observed RRsets, ignoring TTL.
endpoint_timeout
Return the configured endpoint timeout, defaulting to five seconds.
expected_records_from_response
Convert provider/API records into validation expected RRsets.

Type Aliases§

DnsEndpointResolverResult
Result type returned by endpoint resolvers.