[ DKIM ]

Assign DKIM ownership for delegated subdomains

Define who controls DNS, private keys and sending identity before delegating a subdomain to a service.

By the EmailAuth research team · 3 min read

[ Key points ]

  • Distinguish a selector alias from a delegated DNS zone.
  • Name business, DNS and private-key owners independently.
  • Define dependencies and offboarding before making changes.
On this page

Delegating a subdomain can make a sending service easier to operate, but it also distributes control over an organizational identity. A useful DKIM design names the DNS owner, the private-key custodian and the business owner separately. It also states exactly what is delegated and how that delegation will end.

Do not begin by publishing restrictive records or assuming the subdomain only sends mail. Establish its current and intended purpose, including receiving, application use and inherited dependencies. DKIM configuration alone does not decide whether a namespace should accept messages, serve a website or remain dormant.

Define the delegation boundary

Distinguish a selector-level CNAME from delegation of an entire DNS zone using NS records. A selector CNAME points a particular lookup toward provider-managed verification data under RFC 1034 §3.6.2. A zone delegation assigns authoritative responsibility for names within that zone, subject to further zone cuts, under RFC 1034 §4.2; the scope can include records unrelated to DKIM. Review that wider authority before treating the two mechanisms as interchangeable.

Record the complete selector lookup name, target or authoritative zone, intended d domain and provider account. RFC 6376 §3.1 describes selector use cases and RFC 6376 §3.6.2.1 defines key lookup. It does not prescribe the permissions in a particular provider's control panel. Obtain the provider's current instructions and an accountable owner for those permissions.

Assign three kinds of ownership

The business owner knows which messages must continue working. The DNS owner can publish or remove the lookup or delegation. The key custodian controls the private signing key, whether that is an internal system or a managed provider. One team can hold several roles, but each responsibility should be explicit.

Ask who can rotate the key, change the signing domain, export evidence and disable the sending account. Public verification data is not a private signing key. Never request a provider's private key simply to prove that a record is correct; use documented controls and received-message verification instead.

Work through a scoped example

Illustrative design: receipts.mail.example is assigned to a billing service, with a supported signature using d=receipts.mail.example and selector bill1. The organization retains its parent DNS, while the provider controls verification material reached by bill1._domainkey.receipts.mail.example. Record the billing owner, DNS change owner and provider key custodian against that exact name.

If the visible From domain is receipts.mail.example, the identities match exactly. If From instead uses mail.example, assess the configured alignment mode under RFC 9989 §3.2.10 and organizational-domain discovery under RFC 9989 §4.10.2; do not assume strict alignment. A passing signature proves the cryptographic relationship for its d domain, not that every address under the parent has the same business authorization. This is a design fixture, not a live tenant result.

Check hidden dependencies before change

Search configuration inventories for scheduled jobs, acquisition-era applications and old campaign systems using the subdomain. Review receiving requirements separately. A DNS delegation change can affect more than DKIM, while removal of a selector can affect delayed messages already signed with that selector.

Prepare representative tests for each known sending route. Capture From, d, s, trusted receiver result and alignment, together with the DNS answer and timestamp. Verify the normal path as well as the recovery route. A dashboard marked verified is useful configuration evidence, but not a substitute for a received-message sample.

Make offboarding part of the initial design

Document how to stop new signing, preserve necessary verification during a planned transition and remove unused delegation after dependencies have ended. Coordinate account access and API credentials separately; deleting one DNS record is not complete provider offboarding. If key compromise is suspected, security containment can take priority over ordinary overlap.

The final register should show the namespace purpose, authority granted, owners, tests and exit conditions. That record lets the next administrator distinguish a necessary dependency from an abandoned pointer without guessing from a provider name in DNS.

Record the next decision

Before approval, compare the exact requested name and record type with the intended authority. One selector CNAME should not be silently replaced with NS delegation for a whole zone. If the provider needs the broader scope, list affected names and dependencies and obtain the responsible owner’s decision. The example grants no actual DNS authority.

[ Takeaway ]

Distinguish a selector alias from a delegated DNS zone. Name business, DNS and private-key owners independently. Define dependencies and offboarding before making changes.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Record the exact authority boundary

A full zone delegation can affect much more than one signing selector.

Next steps

  1. Map CNAME and NS dependencies.
  2. Record key custody and rotation controls.
  3. Test received signatures before closure.

CISO / SecOps

Treat delegation as ongoing trust

DNS control and private-key access are separate permission surfaces.

Next steps

  1. Review the delegated scope.
  2. Define compromise containment.
  3. Require account and DNS offboarding evidence.

Founder / Non-technical

Name the communication owner

A provider relationship needs a business owner who can confirm why the subdomain exists.

Next steps

  1. List its sending and receiving purposes.
  2. Identify infrequent business messages.
  3. Approve an exit condition before launch.

[ FAQs ]

Frequently asked questions

Is a selector CNAME the same as a zone delegation?

No. They grant different DNS scope. Review the complete names and authority involved.

RFC 1034 §3.6.2 RFC 1034 §4.2

Who should own the private key?

Name the actual custodian, which may be the provider. Ownership must be explicit even when the key cannot be exported.

Do we need a private key to verify the setup?

No. Verification uses public key material and a signed message; private keys should remain protected.

RFC 6376 §6.1.2 RFC 6376 §6.1.3

Does DKIM decide whether the subdomain receives mail?

No. Sending and receiving requirements need separate decisions.

Can a subdomain signature align with a parent From domain?

It can under relaxed alignment when the organizational-domain relationship qualifies; strict alignment requires an exact match.

RFC 9989 §3.2.10 RFC 9989 §4.10.2

What hidden dependencies matter?

Scheduled applications, legacy campaigns, acquired systems and mail still in transit can all depend on existing configuration.

Does removing the selector complete offboarding?

No. Accounts, credentials, integrations and broader DNS delegations may remain.

Should compromised keys get normal transition overlap?

Not automatically. Containment may justify immediate revocation despite effects on delayed mail.

RFC 6376 §8.3

[ Sources ]

Sources

  1. RFC 1034

    Sections §3.6.2 · §4.2

  2. RFC 6376

    Sections §1 · §3.1 · §3.5 · §3.6.2.1 · §6.1.2 · §6.1.3 · §8.3

  3. RFC 9989

    Sections §3.2.10 · §4.4 · §4.10.2

[ Glossary ]

Glossary

DKIM
A domain-associated signature over selected message content verified using public-key data.

RFC 6376 §1

Selector
The s value used with the d signing domain to locate verification data.

RFC 6376 §3.1 RFC 6376 §3.5

DMARC alignment
The required relationship between an authenticated identifier and the Author Domain.

RFC 9989 §4.4

Zone delegation
A DNS zone boundary assigning authoritative responsibility in the namespace.

RFC 1034 §4.2

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base