Protocol walkthrough
How a record becomes DNS
This is the end-to-end flow we should be able to explain without hand-waving: identity, event, validation, payment, DNS, resolution, and renewal.
1. Identity
01A Nostr keypair is the source of authority. The npub is the public identity; the nsec is the signing power.
For npub-derived names, ownership is cryptographic, not administrative.
2. Choose name class
02There are two trust models: npub names and string names. They should not be forced into the same rule set.
This is where we decide whether the system is a mirror of identity or a lease market.
3. Publish event
03The user publishes a NoDNS event with record tags, plus payment/claim/delegation data when needed.
Kind 11111 is the special NoDNS event kind for the current protocol.
4. Validate
04The bot checks signature, authority, record shape, policy, and payment before it touches DNS.
If anything fails, the event should be visible and explainable, not silently dropped.
5. Apply DNS
05Valid events become DDNS updates to Knot DNS, which then DNSSEC-signs the result.
This is the convenience layer; the event log is the source of truth.
6. Resolve
06Resolvers can consume the mirrored DNS view or the event log, depending on their trust model.
The same protocol can support standard DNS users and NoDNS-aware users.
7. Renew
07Renewal should be deterministic and verifiable, with the event log acting as the proof.
Lease logic matters only for string names; npub names remain cryptographic.