diff --git a/src/lib/components/global/Icon.svelte b/src/lib/components/global/Icon.svelte index f55a502..f53e2aa 100644 --- a/src/lib/components/global/Icon.svelte +++ b/src/lib/components/global/Icon.svelte @@ -45,12 +45,16 @@ + {:else if name === 'shield-check'} + + {:else if name === 'shield-alert'} + + {:else if name === 'maximize'} + + {:else if name === 'pie' || name === 'dns-zone-stats'} + {:else if name === 'layers'} - + {:else if name === 'warning'} {:else if name === 'info'} @@ -185,6 +189,8 @@ {:else if name === 'dns-label-normalize'} + {:else if name === 'dns-zone-linter'} + {:else if name === 'dns-ttl'} {:else if name === 'alias'} @@ -195,8 +201,12 @@ + {:else if name === 'code-diff' || name === 'dns-zone-diff'} + {:else if name === 'file'} + {:else if name === 'file-tick'} + {:else if name === 'map-pin'} {:else if name === 'arrow-up-down'} @@ -263,16 +273,20 @@ {:else if name === 'sort'} + {:else if name === 'minus'} + {:else if name === 'plus'} {:else if name === 'certified'} - {:else if name === 'ruler'} + {:else if name === 'ruler' || name === 'dns-name-length'} {:else if name === 'wrench'} {:else if name === 'settings'} + {:else if name === 'layout'} + {:else if name === 'calendar'} {:else if name === 'check'} @@ -293,8 +307,12 @@ {:else if name === 'scattered'} + {:else if name === 'hash'} + {:else if name === 'help'} + {:else if name === 'bar-chart'} + {:else if name === 'list-check'} {:else if name === 'list'} diff --git a/src/lib/components/tools/NameLengthChecker.svelte b/src/lib/components/tools/NameLengthChecker.svelte new file mode 100644 index 0000000..02d010a --- /dev/null +++ b/src/lib/components/tools/NameLengthChecker.svelte @@ -0,0 +1,942 @@ + + +
Validate DNS names against RFC length limits: 63 bytes per label, 255 bytes per FQDN
++ DNS names have strict length limits defined by RFC specifications. Each label (part + between dots) must be 63 octets or less, and the complete FQDN must not exceed + 255 octets including the length encoding. +
++ Names exceeding these limits will cause DNS resolution failures. Some resolvers + may truncate names, while others will reject them entirely. This can break + applications and services relying on these names. +
++ Long names often result from deep subdomain structures, verbose naming conventions, + or automated name generation. Consider shorter alternatives or restructuring + your DNS hierarchy to stay within limits. +
++ Use concise, descriptive names. Avoid unnecessary subdomains and overly verbose + labels. Regularly validate zone files during development. Consider using aliases + or redirects for shorter public-facing names. +
+Compare two zone files and identify added, removed, and changed DNS records
+{generateUnifiedDiff()}
+ {formatRecord(record)}
+ {formatRecord(record)}
+ {formatRecord(change.before)}
+ {formatRecord(change.after)}
+ + Comparing zone files helps track DNS changes during migrations, updates, or + troubleshooting. It identifies exactly what records were added, removed, or modified + between two zone versions. +
++ Added records are new entries in the updated zone. Removed records exist in the + original but not the updated zone. Changed records have the same owner and type + but different data or TTL values. +
++ Structured format groups changes by type for easy review. Unified diff format + follows standard patch conventions, useful for version control systems and + automated processing. +
++ Use zone diffs to plan DNS migrations, verify changes before deployment, and + audit modifications. Consider TTL impact on propagation when planning record + updates or deletions. +
+Normalize and canonicalize BIND zone files with error checking and formatting
+{results.formattedZone}
+ + BIND zone files define DNS records for a domain. They include resource records (RRs) + with owner names, TTL values, classes, types, and data. Proper formatting ensures + reliable DNS operation. +
++ Normalizing zone files improves readability, reduces errors, and ensures consistent + formatting. It also helps identify duplicate records and missing essential records + like SOA and NS. +
++ Watch for missing trailing dots in FQDNs, duplicate records, incorrect TTL values, + and missing SOA or NS records. The linter helps catch these configuration problems + early. +
++ Use consistent TTL values, maintain proper record ordering, include comprehensive + NS records, and regularly validate your zones. Consider using shorter TTLs during + transitions. +
+Analyze zone file structure, record distribution, and configuration health
++ Zone statistics help understand DNS structure, identify optimization opportunities, + and spot potential issues. Analyze record distribution, TTL patterns, and naming + conventions for better zone management. +
++ TTL distribution reveals caching patterns. Short TTLs enable quick changes but + increase DNS load. Long TTLs reduce queries but slow propagation. Balance based + on change frequency and traffic patterns. +
++ Record type distribution shows zone complexity. Heavy A/AAAA records suggest + web services, many MX records indicate mail infrastructure, and diverse types + show comprehensive DNS usage. +
++ Regular zone analysis catches configuration drift, identifies duplicates, and + ensures essential records exist. Use statistics to track zone growth and + optimize DNS performance over time. +
+Professional tools for DNS zone file analysis, validation, and management. Built for network administrators, DNS engineers, and automation workflows.
+{tool.description}
+Comprehensive RFC compliance checking with detailed error reporting and recommendations for fixing common issues.
+Compare zone file versions to track DNS changes, plan migrations, and audit modifications with unified diff support.
+Deep analysis of record distribution, TTL patterns, name lengths, and zone health metrics for optimization.
+Ensure DNS names meet RFC length limits and zone files follow best practices for reliable DNS operation.
+Compare existing and target zones to understand exactly what changes during migrations and ensure nothing is missed.
+Normalize messy zone files with consistent formatting, proper ordering, duplicate removal, and error correction.
+Validate zone files against DNS standards to identify potential issues before they cause resolution failures.
+Understand zone structure, identify optimization opportunities, and track DNS infrastructure growth over time.
+