Skip to content
DomainKit
Esc
navigateopen⌘Jpreview
On this page

Provider evidence and public DNS

Understand why authoritative-provider state, recursive public DNS, and product readiness are separate forms of evidence.

DNS can be present in a provider account before recursive resolvers return it. Resolvers can also disagree because of caching, propagation, outages, or provider behavior. DomainKit preserves those distinctions instead of reducing verification to one Boolean.

Three different questions

Layer Question Owner
Provider observation Does the authoritative provider account contain the desired record? DomainKit provider readback
Public-DNS observation What do named recursive resolvers currently answer? DomainKit resolver pool
Product readiness Is the domain ready for this application’s complete feature? Host application

Product readiness can include certificate issuance, email-provider verification, routing state, background polling, or business policy that is outside DNS observation.

One observation operation

Verification.observe accepts an explicit source configuration and returns one exhaustive tagged result. Public DNS is enabled by default; provider readback is opt-in and requires a provider and authoritative zone.

When both sources are requested, both must match before the aggregate is Verified.

Aggregate outcomes

_tag Meaning
Verified Every requested source matched the requirement
Pending A requested source has not observed the desired state yet
Mismatch A requested source observed DNS that differs from the requirement
Unavailable A requested source could not produce trustworthy evidence
NotObserved No evidence source was requested

The result retains the source evidence. A host can say “the provider contains the record, but public DNS is still pending” without inventing that distinction after the fact.

Resolver disagreement

The default pool queries named Cloudflare and Google DNS-over-HTTPS resolvers concurrently with AnyMatch. Alternative tagged policies are:

  • AllMatch when every configured resolver must match;
  • Quorum when a selected minimum must match.

Every answer, no-data result, timeout, and failure remains available to the caller. Under a quorum policy, unavailable resolvers are not silently counted as mismatches.

Why public DNS is the default

Provider readback proves authoritative account state, not public visibility. Public resolvers are the closest portable evidence that another system can discover the record. The default therefore works without a provider credential and avoids making one provider account an accidental verification dependency.

Put the concept to work

Was this page helpful?