DNS Zone Linter
Normalize and canonicalize BIND zone files with error checking and formatting
Zone File Examples
Zone File Format
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.
Normalization Benefits
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.
Common Issues
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.
Best Practices
Use consistent TTL values, maintain proper record ordering, include comprehensive NS records, and regularly validate your zones. Consider using shorter TTLs during transitions.