From DNSKEY to DS, from zone file to findings — checked in your browser
Paste a DNSKEY record and get its RFC 4034 key tag plus DS digests rendered as registry-ready DS records. Paste a BIND zone file and the parser reports SOA, NS, CNAME, MX, TXT, CAA, SPF, DS and DNSKEY problems by line number. Every calculation and check runs inside this page.
In one line: DNSSECLab computes DS records and checks zone files locally, for free.
- 3DS digests (SHA-1, 256, 384)
- 6synthetic presets
- 40+zone lint rules
- 0bytes uploaded
① DNSSEC DS / DNSKEY calculator
Paste a whole DNSKEY record or fill in the fields. The key tag, all three digests and the submission-ready DS records are produced together.
DS records
SHA-1 is no longer collision resistant enough; use SHA-256.
Digest input (wire format)
The DS digest is computed over the owner name in lower-case, length-prefixed wire form followed by the DNSKEY RDATA (flags, protocol, algorithm, public key), per RFC 4034 §5.1.4.
② BIND zone file linter
Paste a zone file and the parser reports every problem with its line number. Errors break parsing or a required rule; warnings are advisory.
Record types: —
| Line | Level | Code | Message |
|---|
③ Six synthetic presets
Every preset uses synthetic example.com or example.net data. No real domain or key is involved; they show that the tool follows the specifications.
| Result summary | Message | Pass |
|---|
Result summary · Not run yet.
④ Diagnostic report
Download the computed DS records and the zone lint result as Markdown or JSON, and the current zone file as .zone.
The report contains only values derived from the DNSKEY and zone file you entered; nothing is uploaded.
Preview
What this tool computes
Every value shown follows the published specification.
SHA(owner wire ‖ DNSKEY RDATA). Digest Type 2 is SHA-256 and 4 is SHA-384; Type 1 (SHA-1) is shown for compatibility with a warning.owner IN DS keytag algorithm digest-type HEX. Paste it into BIND or into a registrar's DS field.$ORIGIN, $TTL, @, records continued in parentheses and semicolon comments, restoring omitted owners and TTLs from context.Frequently asked questions
Is the DNSKEY or zone file I paste uploaded?
No. Every calculation and parse runs in browser JavaScript and nothing is sent anywhere. Only the advertising and affiliate widgets load directly from their own hosts.
Where does a DS record belong?
In the parent zone at the delegation point, not in the child. For example.com the DS sits beside the example.com delegation in the com zone, and is submitted as the domain's DS at the registrar. A DS at the apex itself gets a warning from the linter.
If the key tag matches, is the DS right?
No. The key tag is only a checksum over the DNSKEY RDATA, while the DS digest covers the owner name plus the whole RDATA. The same key under a different owner name produces a different DS digest.
Must an existing SHA-1 DS be replaced?
RFC 8624 and major registrars do not recommend SHA-1 DS records. Create new DS records with SHA-256 and schedule the replacement of any SHA-1 DS.
Why is an apex CNAME a problem?
An apex must carry SOA and NS records, and a CNAME cannot coexist with any other record at the same name (RFC 1034, RFC 2181). An apex CNAME therefore conflicts with SOA and NS.
Does the linter support every BIND construct?
It covers the common records (SOA, NS, A, AAAA, CNAME, MX, TXT, SPF, SRV, CAA, DS, DNSKEY) and directives. Signature records such as RRSIG and file-dependent features such as $INCLUDE are checked at the syntax level only; run `named-checkzone` before applying a zone.
Guides
Read in order from DS calculation through zone syntax, CAA/SPF checks and algorithm rotation.
- Turning a DNSKEY into a DS record — key tag and digest, step by stepHow to derive the key tag from a DNSKEY and build a SHA-256 DS record, with a worked example and the order in which parent and child zones are updated.
- DNSKEY flags and algorithms — telling KSK from ZSK and choosing oneWhat flags 256 and 257 mean together with the SEP and REVOKE bits, why protocol must be 3, and how to choose between algorithms 8, 13, 14, 15 and 16.
- BIND zone syntax — $ORIGIN, $TTL, @ and a correct SOAZone file structure and omission rules, what each SOA timer means, and the CNAME, MX and TXT details that are most often wrong.
- CAA, SPF and TXT lint — the mistakes that block certificates and emailCAA flags, tags and values, the SPF ten-lookup limit, the single-SPF rule, and splitting TXT strings at 255 bytes.
- Deprecated DNSSEC algorithms and a safe key rollover orderWhy SHA-1 DS records and RSASHA1 are discouraged, and the order of steps that keeps KSK and ZSK rollovers from breaking validation.
0 bytes of your input sent to a server (advertising and affiliate widgets excluded)