DNS.Zone.Validator (DNS v0.4.1)
View SourceZone validation and diagnostics tools for DNS zones.
Provides comprehensive validation for zone syntax, semantics, DNSSEC compliance, and RFC compliance checking.
Summary
Functions
Generate zone diagnostics report.
Generate performance metrics for the zone.
Generate recommendations for zone optimization.
Generate security assessment for the zone.
Generate zone statistics.
Validate DNSSEC records and signatures.
Validate NS records and delegation.
Validate record consistency and conflicts.
Validate SOA record format and values.
Validate TTL values across the zone.
Validate a complete zone for RFC compliance and best practices.
Validate zone structure and required records.
Functions
@spec generate_diagnostics(DNS.Zone.t()) :: map()
Generate zone diagnostics report.
@spec generate_performance_metrics(DNS.Zone.t()) :: map()
Generate performance metrics for the zone.
@spec generate_recommendations(DNS.Zone.t()) :: [String.t()]
Generate recommendations for zone optimization.
@spec generate_security_assessment(DNS.Zone.t()) :: map()
Generate security assessment for the zone.
@spec generate_statistics(DNS.Zone.t()) :: map()
Generate zone statistics.
@spec validate_dnssec_records(DNS.Zone.t()) :: {[String.t()], [String.t()]}
Validate DNSSEC records and signatures.
@spec validate_ns_records(DNS.Zone.t()) :: {[String.t()], [String.t()]}
Validate NS records and delegation.
@spec validate_record_consistency(DNS.Zone.t()) :: {[String.t()], [String.t()]}
Validate record consistency and conflicts.
@spec validate_soa_record(DNS.Zone.t()) :: {[String.t()], [String.t()]}
Validate SOA record format and values.
@spec validate_ttl_values(DNS.Zone.t()) :: {[String.t()], [String.t()]}
Validate TTL values across the zone.
@spec validate_zone(DNS.Zone.t()) :: {:ok, map()} | {:error, map()}
Validate a complete zone for RFC compliance and best practices.
@spec validate_zone_structure(DNS.Zone.t()) :: {[String.t()], [String.t()]}
Validate zone structure and required records.