DNSSEC

DNSSEC lets a resolver verify that a DNS answer has not been tampered with. The registry's part is small and specific: it publishes a DS record in the parent zone, which points at the DNSKEY you publish in your own. That link is the chain of trust.

Extension: urn:ietf:params:xml:ns:secDNS-1.1 (RFC 5910). Declare it at login.

What is supported, and what is not

DS Data Interface only. You send DS records. The Key Data Interface — sending DNSKEYs and letting the registry compute the DS — is not offered in these zones, and a top-level <secDNS:keyData> is refused.

maxSigLife is accepted here and goes no further. We store it; the registries do not implement it, so it is not propagated and has no effect on what is published. Do not build anything on it.

urgent is not supported.

Not every zone offers DNSSEC at all. Where it is not offered, a DNSSEC command is refused with 2306. Which zones have it is published per zone.

What a DS record must look like

FieldAccepted values
keyTag0–65535
alg8 (RSA/SHA-256), 10 (RSA/SHA-512), 13 (ECDSA P-256), 14 (ECDSA P-384), 15 (Ed25519), 16 (Ed448)
digestType2 (SHA-256) or 4 (SHA-384)
digesthex, and its length must match the digest type: 64 characters for SHA-256, 96 for SHA-384

Anything else is refused. SHA-1 is not accepted, and neither are the older signing algorithms.

At most six DS records per domain. A command that would take the total past six is refused and nothing is applied — including an update whose rem and add together would have stayed within the limit only if they were applied in a particular order. Count the result, not the delta.

A duplicate DS — the same keyTag, algorithm, digest type and digest — is refused.

Signing a name at registration

<extension>
  <secDNS:create xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">
    <secDNS:dsData>
      <secDNS:keyTag>12345</secDNS:keyTag>
      <secDNS:alg>13</secDNS:alg>
      <secDNS:digestType>2</secDNS:digestType>
      <secDNS:digest>49FD46E6C4B45C55D4AC69E58DA74F2C4A0A1C5D6E7F8091A2B3C4D5E6F70819</secDNS:digest>
    </secDNS:dsData>
  </secDNS:create>
</extension>

Publish the DNSKEY first. At registration the registry checks the DS against the DNSKEY on the name servers you listed. The name is delegated either way — but if the key is not there you get a warning, and until it is, the name fails validation for everyone using a validating resolver. A signed name with no matching key is worse than an unsigned one: it does not resolve.

Changing the DS records

An update is not <secDNS:create>:

<extension>
  <secDNS:update xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">
    <secDNS:rem>
      <secDNS:dsData>
        <secDNS:keyTag>12345</secDNS:keyTag>
        <secDNS:alg>13</secDNS:alg>
        <secDNS:digestType>2</secDNS:digestType>
        <secDNS:digest>49FD46E6C4B45C55D4AC69E58DA74F2C4A0A1C5D6E7F8091A2B3C4D5E6F70819</secDNS:digest>
      </secDNS:dsData>
    </secDNS:rem>
    <secDNS:add>
      <secDNS:dsData>
        <secDNS:keyTag>54321</secDNS:keyTag>
        <secDNS:alg>13</secDNS:alg>
        <secDNS:digestType>2</secDNS:digestType>
        <secDNS:digest>A1B2C3D4E5F60718293A4B5C6D7E8F90A1B2C3D4E5F60718293A4B5C6D7E8F90</secDNS:digest>
      </secDNS:dsData>
    </secDNS:add>
  </secDNS:update>
</extension>

To remove everything, send <secDNS:rem><secDNS:all>true</secDNS:all></secDNS:rem>. That may be combined with an <secDNS:add> in the same command, which is the right way to roll a whole key set: there is no moment in which the name is unsigned.

An empty <secDNS:update> is a syntax error (2003), not a no-op. A client that builds the block unconditionally and fills it only sometimes fails on the sometimes-empty case.

Checking the key before the operation, instead of after

You may include the DNSKEY alongside the DS, inside the dsData. When you do, the match is checked before the change is applied and a mismatch aborts it. Without it the check runs afterwards and you only get a warning.

On a key roll, this is how you learn about a mismatch straight away rather than from a report that the domain has stopped resolving.

Removing DNSSEC

Remove all the DS records. The name is then unsigned, and resolvers stop validating it. Do this before the DNSKEY disappears from your name servers, never after: a DS pointing at a key that no longer exists breaks the name for every validating resolver.

Transferring a signed name

A signed name cannot be transferred to a registrar that does not support DNSSEC. The request is rejected. The way through is for the sponsoring registrar to remove all the DS records first — and if that is us, you can ask us to, at no charge.

Plan a transfer of a signed name in that order: remove the DS, let the change propagate, then transfer, then sign again at the new registrar.

Changing name servers on a signed name

The new servers must publish a DNSKEY matching the DS the registry holds. The change is applied and a warning is queued if the key is not found — the name will not validate until it is. Move the keys with the zone, not after it.

Restore

A name restored from redemption comes back with the DS records it had.

Reading what is published

<secDNS:infData> in the extension of domain info carries the current records. That is the registry's view, and it is the one that matters — not your zone file.

What the server refuses, in its own words

Each refusal arrives as a result code and a sentence in <result><msg>, in the shape Commands and responses shows. The sentence is translated into the language you chose at login where a translation exists, and the lang attribute says which language you are being given. Branch on the code, never on the sentence — the code is the contract, the wording is not.

CodeWhat the message says
2004secDNS keyData unsupported algorithm
2004secDNS keyTag out of range (0-65535)
2004secDNS unsupported algorithm
2004secDNS unsupported digestType (use 2=SHA-256 or 4=SHA-384)
2005secDNS digest length does not match digestType
2005secDNS keyData pubKey must be base64
2005secDNS: at least one dsData or keyData record is required
2005secDNS: use either dsData or keyData, not both
2306secDNS keyData flags must be 256 (ZSK) or 257 (KSK)
2306secDNS keyData protocol must be 3
2306secDNS: at most 6 DS records
2306secDNS: duplicate DS record
2306secDNS: duplicate key record

On this page