dns_zonefile_check
DNS zone file audit — Offline audit of a BIND-style DNS zone file (text=, or url= to a raw file; optional origin=). Parses $ORIGIN/$TTL, multi-line SOA and every common record type, then checks SOA timers and serial, apex NS count and glue, CNAME at the apex or next to other records, NS/MX targets that are IPs or CNAMEs, missing trailing dots (mail.example.com.example.com), subdomain-takeover-prone CNAMEs (S3, Azure, Heroku, GitHub Pages, Netlify...), private IPs in a public zone, SPF (+all, ?all, multiple records, over 10 lookups), DMARC p=none or missing, CAA, wildcards, TTL extremes and duplicates. Returns PASS/REVIEW/FIX REQUIRED/BROKEN with score, grade and line-numbered findings with fixes. Nothing is queried. Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "dns_zonefile_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | $ORIGIN example.com. $TTL 3600 @ IN SOA ns1.example.com. hostmaster.example.com. 2026112201 7200 3600 1209600 3600 @ IN NS ns1.example.com. @ IN NS ns2.example.net. ns1 IN A 192.0.2.1 @ IN MX 10 mail.example.com www IN CNAME example.com. www IN A 192.0.2.11 old IN CNAME myapp.herokuapp.com. @ IN TXT "v=spf1 include:_spf.google.com +all" |