opyebDNSSECLab
OPYEB · serverless static tool

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.

WebCrypto cross-check matches No warnings
RFC 4034 · 4509 · 6605
Key Tag

    
Flags decoded

    
Algorithm

    
Normalized owner · Public key length

      

Normalized DNSKEY

  

DS records

Digest Type 2 · SHA-256 (recommended)

  
Digest Type 4 · SHA-384

  
Digest Type 1 · SHA-1 (deprecated)

    
  

Digest input (wire format)

Owner name wire (hex)

    
DNSKEY RDATA (hex)

    

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.

    No errors
    — Apex 0 Records 0 errors 0 warnings

    Record types: —

    LineLevelCodeMessage

    ③ 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.

    Not run yet.
    Result summaryMessagePass 

    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.

    Key tagThe RFC 4034 Appendix B sum over the DNSKEY RDATA in 16-bit words. Only Algorithm 1 (RSA/MD5) takes the exception of the most significant 16 bits of the least significant 24 bits of the modulus.
    Wire nameThe owner name is lower-cased, each label prefixed with its length byte, and the name closed with a root zero. These bytes start the DS digest input.
    DS digestSHA(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.
    DS recordOutput in owner IN DS keytag algorithm digest-type HEX. Paste it into BIND or into a registrar's DS field.
    Zone parsingHandles $ORIGIN, $TTL, @, records continued in parentheses and semicolon comments, restoring omitted owners and TTLs from context.
    LintChecks SOA serial and timers, apex CNAME, CNAME coexistence, multiple SPF, the ten-lookup SPF limit, 255-byte TXT strings, CAA tags, DS digest length, DNSKEY protocol and algorithms.

    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.

    0 bytes of your input sent to a server (advertising and affiliate widgets excluded)