- Home
- Skills
- DevOps & Cloud
- DNS Zone Validator
Works with the AI Agents you already use
DNS Zone Validator
Validate BIND DNS zone files for syntax errors, RFC violations, and serial number hygiene.
$2.99
DNS Zone Validator
Example session with this skill installed
Check db.internal.lan for errors. It's a private zone. I've also provided db.internal.lan.old to verify the serial was updated.
- Read your context and instructions
- Compiled the dns zone validator
I have analyzed db.internal.lan using the DNS Zone Validator. I compared it against the previous version to verify serial increments and performed a hygiene audit.
DNS Validation Report: db.internal.lan
| Check Type | Result | Details |
|---|---|---|
| BIND Syntax | PASSED | named-checkzone returned code 0. |
| SOA Serial | FAILED | Serial 2023101001 is identical to the previous version. |
| NS Count | WARNING | Only 1 NS record found (ns1.internal.lan). Minimum 2 recommended. |
| RFC 2181 | PASSED | No CNAME collisions or invalid MX/NS targets detected. |
| Glue Records | PASSED | All in-zone nameservers have corresponding A/AAAA records. |
| IP Exposure | INFO | Private IP range detected (10.0.0.0/8). Flagged as safe for private zone. |
| SOA Timers | PASSED | Refresh (3600), Retry (600), and Expire (86400) are within normal ranges. |
Issues Found:
- The SOA serial was not incremented. BIND will not propagate these changes to secondary servers.
- Redundancy risk: Only one nameserver is defined. If
ns1fails, the zone becomes unreachable.
Next steps
- Run with
--bump-serialto automatically increment the SOA serial to2023101002. - Add a second NS record and a corresponding A record for
ns2.internal.lan. - Reload the BIND service after the serial is corrected.
Connects securely to your tools. The creator never sees your data.
About this skill
DNS zone file errors often stay hidden until a reload fails or propagation breaks. This skill validates and lints BIND zone files to ensure they meet both RFC standards and operational best practices before they reach your nameservers.
What it does
- Syntax validation runs the official
named-checkzoneutility to catch parser errors. - RFC compliance flags forbidden configurations like CNAMEs coexisting with other records or CNAMEs as MX targets.
- Serial management detects un-bumped SOA serials and enforces YYYYMMDDnn formatting.
- Infrastructure hygiene identifies missing glue records, low TTLs, and insufficient NS records.
- Security checks warns when private IP addresses (RFC 1918) are detected in public-facing zones.
How it works
- Analyze the target zone file using
named-checkzonefor baseline syntax correctness. - Scan for hygiene issues like improper SOA timers or duplicate records.
- Compare against a previous version of the file to verify serial number increments.
- Update the zone file automatically with a bumped serial number if requested.
Frameworks & tools
The skill relies on bind9-utils (specifically named-checkzone) for authoritative syntax checks. The hygiene and linting logic is implemented in Python.
Why this beats prompting it yourself
Generic LLM prompts often miss subtle DNS RFC requirements like the prohibition of CNAMEs on the zone apex. This skill combines the industry-standard BIND toolchain with programmatic logic to catch edge cases that manual review or simple pattern matching will miss.
Use cases
- Validating zone files before a BIND server reload.
- Migrating DNS records between different providers or servers.
- Automating serial number updates during CI/CD deployments.
- Auditing public DNS zones for accidental private IP leakage.
Known limitations
Requires named-checkzone to be installed on the host for full syntax validation. Hygiene checks operate independently but cannot replace the official BIND parser.
Requires bind9-utils or bind-utils for authoritative syntax checking. Works specifically with BIND-style zone file formats.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago