Prufy notes
The app ยท 6 min

One-click setup

Domain Connect is an open standard for one-click DNS setup. The engine really does the discovery. The last step needs something only a DNS provider can give.

The handshake

Domain Connect, start to finishStep through it
Prufy
DNS
Provider
You
Step 1 of 8
Does this provider take part?
The provider publishes a host name in DNS. This value is chosen by whoever controls the domain, so nothing about it can be trusted yet.
packages/dns/src/domain-connect.ts

What the message means

A provider only applies templates it has onboarded, so three states are possible. They show up in the list of ways to add the record, in components/claim/methods.tsx.

You seeIt means
No one-click option at allThis provider doesn't advertise Domain Connect
Last in the list, disabled: "Vercel supports one-click setup, but hasn't switched it on for Prufy yet."It supports the standard, not our template, or the feature flag is off
First in the list, marked Easiest: "Sign in to Vercel and approve. We add the record for you."It has our template, and the flag is on

Our template is domain-connect/prufy.dev.ownership.json: provider prufy.dev, service ownership, one TXT record at _prufy-challenge with a %token% variable.

What's built and what isn't

PieceState
Discovery of settingsReal, tested live
Template support checkReal
Our template fileWritten
Signed apply URLBehind a flag, verified only against our own key
Return routeBuilt
A provider having our templateNo
Predict it first
The return URL says the person approved. Are they verified?