# vDNS: Verifiable Domain Holder and DNS State Assurance

| | |
|---|---|
| Document | `draft-esreal-vdns-00` |
| Status | Draft for public comment. Not an IETF document. |
| Category | Specification (normative where marked) |
| Date | 12 November 2026 |
| Editor | EsReal BV |
| Reference implementation | `vproof-js` (MIT), see Appendix C |

## Abstract

A visitor on a website cannot tell from the address bar whether the domain belongs to the
organisation it appears to belong to, nor whether the domain's DNS is still in the state its holder
set up. Existing mechanisms either warn after harm has been reported (blocklists), or establish
control of a name without establishing who holds it (domain-validated certificates).

vDNS specifies a way for a domain holder to publish evidence about its own domain that any party can
recompute without trusting the publisher, the issuer of the evidence, or the operator of this
specification. The evidence binds four things to one 32-byte value: the identity of the holder,
checked against an official register; the state of the domain's DNS at a moment; that moment,
attested by a time-stamping authority; and the holder's endorsement, published in the domain's own
DNS zone. The value is additionally recorded in a public blockchain.

This document defines the register of verified domain holders (vDOMAIN), the proof bundle, the
minimum of the vURL format a verifier needs, the anchoring, the holder's DNS endorsement, the
verification procedure, and the rules for presenting a result to a person.

## Status of this document

This is a first public draft. Formats marked **frozen** are already in production use: their values
are recorded on public blockchains and inside time-stamped data, and they cannot change without
invalidating evidence that has been issued. Everything else may change before a final version.
Comments are welcome; see Section 17.

"EsReal" is a registered word mark of EsReal BV. vDNS, vDOMAIN and vURL are used in this document as
the names of the mechanisms it specifies.

---

## Table of contents

1. Introduction
2. Conventions and terminology
3. What vDNS asserts, and what it does not
4. Roles
5. The vDOMAIN register
6. The proof payload
7. The vURL, as far as vDNS needs it
8. Anchoring
9. The holder's endorsement: the `_etip` record
10. Discovery and the proof bundle
11. Verification
12. Assurance levels
13. Presenting a result
14. Security considerations
15. Privacy considerations
16. Versioning and frozen formats
17. Implementation status and contact
18. References

Appendix A. Test vectors
Appendix B. Payload construction rules
Appendix C. Reference implementation
Appendix D. Open issues

---

## 1. Introduction

### 1.1 The problem

The most effective attack on a website's visitors is not on the website. It is a copy of it, on a
domain that reads almost the same, where the visitor enters credentials or confirms a payment. The
copy has a valid certificate, because a domain-validated certificate only establishes that someone
controls the copied name. Blocklists catch it only after someone has seen it, reported it, and the
list has propagated; the attack lives in that window.

### 1.2 The inversion

vDNS does not try to recognise the copy. It lets the original prove that it is the original. A
visitor, a browser extension, an agent or a service can then confirm a participating domain
positively, with evidence it recomputes itself, instead of waiting for a warning about the domain
it is not on.

A copy cannot reproduce that evidence. To do so it would have to control, at the same time, the DNS
of the original domain, the time-stamping authority, a public blockchain, and the original domain's
DNS zone. It controls none of them.

### 1.3 Design rule

> **Only what is hashed is evidence. Everything else is a report.**

Every field this document calls *evidence* is inside bytes that are hashed into the value that is
time-stamped and anchored. Every other field is a convenience assembled by an issuer when it is
read, and a verifier MUST NOT rely on it as evidence.

---

## 2. Conventions and terminology

The key words **MUST**, **MUST NOT**, **REQUIRED**, **SHALL**, **SHALL NOT**, **SHOULD**,
**SHOULD NOT**, **RECOMMENDED**, **MAY** and **OPTIONAL** are to be interpreted as described in
BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals.

| Term | Meaning |
|---|---|
| **domain** | a fully qualified domain name, compared in lowercase, without trailing dot, in its A-label (punycode) form |
| **holder** | the legal entity that holds a domain |
| **vDOMAIN** | a domain whose holder has been checked against an official register and recorded as verified in a vDOMAIN register (Section 5) |
| **vDNS proof** | a published, verifiable record of a domain's DNS at one moment, bound to its holder, to that moment and to a public blockchain (Sections 6 to 10) |
| **payload** | the JSON object that carries the evidence of a vDNS proof |
| **canonical JSON** | the serialisation in Section 6.3 |
| **`datahash`** | SHA-256 over the canonical JSON of the payload |
| **vURL** | the link that identifies a proof and carries `datahash` (Section 7) |
| **`url_hash`** | SHA-256 over the canonical vURL string. The value everything else binds to |
| **issuer** | the service that creates a proof and its vURL |
| **TSA** | a time-stamping authority as defined in [RFC3161] |
| **anchor** | the record of a value in a public blockchain transaction (Section 8) |
| **`_etip` record** | the TXT record by which the holder endorses one proof in the domain's own zone (Section 9) |
| **verifier** | any party that checks a proof: a person, a browser extension, an agent, a service |
| **subject domain** | the domain a proof is about (`payload.domain`) |
| **look-alike** | a domain resembling a real one, intended to make someone act on the wrong site |

All hashes are SHA-256 [FIPS180-4]. Where a hash is written as text it is lowercase hexadecimal.
Where hashes are combined, the raw 32-byte values are combined, never their hexadecimal text.

---

## 3. What vDNS asserts, and what it does not

### 3.1 The question

vDNS answers exactly one question:

> Is this domain still the domain that was recorded, and is there a verified legal entity behind
> it?

That is a question about integrity and identity. It exists because of one attack: the look-alike.

### 3.2 What it does not answer

vDNS makes no statement about:

- whether an organisation is a good one to deal with, its products, prices, delivery or conduct;
- whether the recorded facts were true when they were recorded. The chain proves that they have not
  changed since; it does not prove that they were correct;
- a domain that does not participate. Absence of evidence is not evidence of anything (Section 13);
- the content served by a website. The **holder** is verified; a website is not something anyone
  verifies.

Implementations MUST NOT present a vDNS result as a judgement about any of the above.

### 3.3 Relation to existing mechanisms

| Mechanism | What it establishes | What vDNS adds |
|---|---|---|
| DNSSEC [RFC4033] | DNS answers were not altered in transit | which legal entity holds the zone, and what the zone contained at a moment |
| Domain-validated certificate | control of a name at issuance | the identity of the holder, checked against an official register |
| Organisation/extended validation certificate | an identity at issuance, no longer shown by browsers | the DNS state over time, and a holder endorsement outside the web server |
| Certificate Transparency [RFC9162] | a certificate was logged | evidence about the domain's DNS and holder, not about certificates |
| Blocklists and reputation | reports about known-bad URLs | positive confirmation of a participating domain, before any harm |
| Trust seals on a page | that an image is on a page | evidence that is not on the page and cannot be copied to another domain |

vDNS is complementary to all of them. It does not replace DNSSEC, TLS or certificate validation.

---

## 4. Roles

| Role | Holds | Trusted by a verifier for |
|---|---|---|
| **Holder** | the domain and its DNS zone | the `_etip` endorsement, which only the zone can publish |
| **Validator** | the identity check of a holder against an official register | nothing beyond what is anchored; see Section 5.4 |
| **Register operator** | the vDOMAIN register | nothing beyond what is anchored and recomputable |
| **Issuer** | the creation of proofs and vURLs | one named check only (Section 11.10); everything else is recomputable |
| **TSA** | its signing key | the time in its token, under its own certificate chain |
| **Public blockchain** | its ledger | that a value existed no later than a block |
| **Verifier** | nothing | — |

One organisation MAY act in several roles. A verifier MUST NOT need to trust the issuer, the
register operator or the validator for any check except the one named in Section 11.10.

The four parties a forger would have to control at once are the holder's DNS zone, the TSA, the
blockchain and, for the live comparison, the DNS itself as seen through independent resolvers.
None of them is the issuer.

---

## 5. The vDOMAIN register

### 5.1 Purpose

A vDOMAIN register records that the holder of a domain has been identified against an official
register, and with what result. It is the identity leg of a vDNS proof.

Being in the register addresses the look-alike at the root: whoever impersonates an organisation
does not get entered in the register under the name of the organisation it impersonates. It does
not cover the live website; that is the task of the proof (Section 6).

### 5.2 What is published

A register MUST NOT publish domain names in clear in its anchored data. Each entry is identified by

```
domain_hash = sha256( domain )
```

over the UTF-8 bytes of the domain in the form defined in Section 2.

An entry carries at least:

| Field | Meaning |
|---|---|
| `domain_hash` | as above |
| `status` | `pending`, `verified` or `revoked` |
| `org_name` | the name of the legal entity, as on the official register |
| `validation` | the register's validation flags. A register MUST document the flags it uses |
| `anchor` | `chain`, `root`, `txid` of the anchoring of the batch containing this entry |

A register MUST NOT publish the names of natural persons in an entry.

### 5.3 Status values

| `status` | Meaning |
|---|---|
| `pending` | the holder applied; the identity check is not complete. A verifier MUST NOT treat it as verified |
| `verified` | the identity check succeeded and is recorded |
| `revoked` | a previously verified entry is no longer in use or no longer valid. The history remains |

A register MUST NOT delete an entry that has been anchored. A change is a new state of the entry,
anchored again.

### 5.4 The identity check

A validator MUST check the holder against an official register of legal entities in the holder's
jurisdiction (for Belgium, the Crossroads Bank for Enterprises), and SHOULD check the VAT number
where one exists. The validator records the registration number and the country.

The quality of a vDOMAIN entry is the quality of that check. A verifier cannot recompute it; what a
verifier can recompute is that the entry exists, has not been rewritten since it was anchored, and
what it said at the moment a proof was issued (Section 6.4).

### 5.5 Lifecycle

| Event | Effect |
|---|---|
| create | a new entry, `pending`, then `verified` after the check |
| stop | the entry becomes `revoked`. Proofs issued while it was `verified` remain valid for that period |
| restart | a `revoked` entry becomes `verified` again, after a new check |

A domain used by a holder on a third-party platform (for example `holder.platform.example`) MAY be
registered as its own vDOMAIN entry for that holder, with the same check. The registrable domain of
the platform does not thereby become a vDOMAIN.

### 5.6 Inclusion proof

A register MUST provide, without authentication, an inclusion path from `domain_hash` to the
anchored `root` of the batch that contains it, in the form of Section 8.3. It MUST refuse to return
a path it cannot itself fold to the stored root.

---

## 6. The proof payload

### 6.1 Structure

The payload is a JSON object [RFC8259]. For a vDNS proof it contains:

| Field | Req. | Meaning |
|---|---|---|
| `domain` | MUST | the subject domain |
| `taken_at` | MUST | when the snapshot was taken, ISO 8601 in UTC |
| `dns_version` | MUST | the format version of `records` |
| `records` | MUST | the DNS snapshot, Section 6.2 |
| `resolver` | MUST | which resolvers were queried |
| `dnssec` | MUST | whether the zone was DNSSEC-signed: `true`, `false` or `"unknown"` |
| `vdomain` | MUST | the vDOMAIN under which the issuer issues |
| `vdomain_attestation` | MUST | what the register said at issuance, Section 6.4 |
| `parent_vurl` | MAY | the vURL of the previous proof for this domain, making a series into a timeline |
| `description` | MAY | free text |

`dns_version` MUST be present from the first issuance: the payload cannot be extended later without
changing its hash.

### 6.2 The DNS snapshot

`records` is a list of objects `{name, type, values}`. `values` is a list of strings. An empty list
means *queried, nothing found*, and is itself a recorded fact.

**The CNAME rule.** If a name has a CNAME, the snapshot records the CNAME and MUST NOT record the
addresses it resolves to. Those are not in the holder's zone and change by region and by hour; a
verifier comparing them would report a difference on every check. A name with a CNAME and no address
record is correct, not incomplete.

### 6.3 Canonical JSON (frozen)

The canonical form of a JSON value is:

- object members sorted ascending by the UTF-8 bytes of their keys, recursively;
- no whitespace between tokens;
- `/` not escaped;
- non-ASCII characters written literally in UTF-8, not as `\uXXXX`;
- control characters below U+0020 escaped as `\u00XX`;
- numbers in the shortest form that reads back to the same value.

For every payload an issuer accepts (Appendix B), this produces the same bytes as the JSON
Canonicalization Scheme [RFC8785]. This document does not claim more than that.

```
datahash = sha256( canonical(payload) )
```

### 6.4 The identity attestation

`vdomain_attestation` records what the register said when the proof was issued. Because it is
inside the payload, it cannot be altered afterwards, and a later change in the register does not
change what a proof issued earlier says.

| Field | Meaning |
|---|---|
| `source` | the register endpoint consulted |
| `checked_at` | Unix time of that consultation |
| `vdomain.domain` | the vDOMAIN, as registered |
| `vdomain.domain_hash` | SHA-256 of that domain |
| `vdomain.org_name` | the legal entity on record |
| `vdomain.status` | the status at issuance |
| `vdomain.validation` | the register's flags at issuance |
| `vdomain.anchor` | `chain`, `root`, `txid` of the register's anchoring |
| `vdomain.cache_age_seconds` | how old the consulted answer was |

**The attested vDOMAIN is not necessarily the subject domain.** An issuer operating under
`example.org` may record the DNS of `customer.example`. A verifier MUST NOT require a relation
between `payload.vdomain_attestation.vdomain.domain` and `payload.domain`. What the holder of the
subject domain says about the proof is Section 9.

---

## 7. The vURL, as far as vDNS needs it

The vURL is a general format for referencing time-stamped, anchored data; vDNS is one type of it.
This section defines only what a vDNS verifier needs. The full vURL format is specified separately
[VURL].

### 7.1 Form (frozen)

```
https://<gateway>/v/<type>/?obj=<id>&datahash=<sha256>&ts=<unix>&sig=<mac>
```

| Parameter | Meaning |
|---|---|
| `type` | the proof type; `dnsproof` for a vDNS proof |
| `obj` | the object identifier |
| `datahash` | Section 6.3 |
| `ts` | the moment of issuance, Unix time |
| `sig` | the issuer's MAC over `type|obj|ts` (Section 11.10) |

### 7.2 The canonical string and `url_hash` (frozen)

A verifier does not read the vURL; it **rebuilds** it: the four query parameters in the order `obj`,
`datahash`, `ts`, `sig`, each value percent-encoded per [RFC3986], with a space as `%20` and never
`+`.

```
url_hash = sha256( canonical vURL string )
```

`url_hash` is the hinge of the construction. It is the value the TSA stamps, the leaf that is
anchored, and half of the holder's endorsement. A verifier MUST compute it and MUST NOT take it from
the bundle.

---

## 8. Anchoring

### 8.1 Time stamp

The issuer MUST obtain an [RFC3161] time-stamp token whose `messageImprint` is `url_hash`, with
SHA-256 as hash algorithm. The token is self-contained: it carries the TSA's certificate chain.

A valid token is not by itself a *qualified* electronic time stamp in the sense of [eIDAS]
Article 42. A time stamp is qualified only if the TSA's chain resolves to a qualified trust service
on the EU Trusted Lists. An issuer MUST NOT claim qualified status on its own authority; it MAY
state what its operator declared, marked as a declaration (Section 10.3).

### 8.2 Merkle construction `sha256-pairwise-dup-last-v1` (frozen)

Leaves are paired in order. With an odd number of nodes at a level, the last is duplicated. Each
pair is hashed as

```
parent = sha256( left_bytes || right_bytes )
```

over the raw 32-byte values. The construction identifier and the leaf order MUST be recorded with
each anchored root, so that a later change of construction cannot reinterpret earlier roots.

### 8.3 Inclusion path

A path is a list of steps `{hash, side}`, where `side` is the position of the **sibling**:

```
side = "left"   ->  acc = sha256( sibling_bytes || acc_bytes )
side = "right"  ->  acc = sha256( acc_bytes || sibling_bytes )
```

Folding starts with `acc` = the leaf and ends with the root.

### 8.4 Layers

| Layer | Value | Scope |
|---|---|---|
| 0 | `url_hash` | the leaf, per proof |
| 1 | issuer root | per issuer, per time window |
| 2 | global root | over the issuer roots of a window; this is written to the blockchain |
| 3 | day root | over the global roots of a day; this is time-stamped |

The global root MUST be written to a public blockchain in a transaction output that any explorer
for that chain displays (for example an `OP_RETURN` output). The issuer MUST make available, without
authentication, the path from the leaf to the issuer root and from the issuer root to the global
root.

### 8.5 What anchoring proves, and what it does not

A transaction proves that a value existed **no later than** its block. It does not attest a
specific moment; the time stamp does. A Merkle path proves inclusion, never completeness.

The blockchain leg is the least durable part of a proof, not the most: a chain must still exist and
be queryable decades later, while a time-stamp token carries its own chain of trust.

---

## 9. The holder's endorsement: the `_etip` record

### 9.1 Format (frozen)

The holder publishes in the subject domain's own zone:

```
_etip.<domain>.  IN  TXT  "v=etip1; vhash=<64 lowercase hex>"

vhash = sha256( url_hash_bytes || sha256(payload.domain)_bytes )
```

The domain hashed into `vhash` is the **subject domain**, `payload.domain`. It is not the attested
vDOMAIN of Section 6.4. For a proof about `www.example.com` issued under `example.com`, only the
first matches.

### 9.2 Why it carries weight

The zone is a different control plane than the web server. An attacker who copies a bundle to a
look-alike cannot publish the record in the original zone. An attacker who takes over the original
web server can serve a different bundle, but then bundle and record contradict each other, which a
verifier detects.

### 9.3 Semantics

| Situation | Meaning |
|---|---|
| no `_etip` record | **not endorsed by the holder.** Not invalid |
| a record whose `vhash` matches | the party controlling the zone endorses this proof, for this domain, now |
| a record whose `vhash` differs | **failure**: the site serves a different proof than its DNS endorses |

A holder that issues a new proof MUST update the record. DNS has no signed history: the record
proves endorsement now, not when it was published; the time stamp covers *when*.

---

## 10. Discovery and the proof bundle

### 10.1 Location (frozen)

A holder publishes the current proof for a domain at

```
https://<domain>/.well-known/vproof.json
```

served over HTTPS with media type `application/json`. A bundle MAY also be handed over as a file;
everything in Section 11 except steps 7, 8 and 9 works on a stored copy.

### 10.2 Two halves

A bundle is one JSON document with two halves:

| Half | Weight |
|---|---|
| `payload` | evidence: hashed into `datahash`, which is in the vURL, which is time-stamped and anchored |
| everything else | report: assembled by the issuer when read. Useful, dated, and not covered by any hash |

### 10.3 Report fields a verifier uses

| Field | Use |
|---|---|
| `type` | the vURL type; input to the issuer's MAC |
| `url_integrity.vurl` | the vURL. Rebuild and hash it yourself |
| `qualified_timestamp.token_b64` | the [RFC3161] token, base64 of DER |
| `qualified_timestamp.provider` | who issued the token |
| `qualified_timestamp.qualified.declared_by_node_operator` | the operator's declaration about qualified status. A declaration, not a finding |
| `qualified_timestamp.qualified.verified_by_this_node` | always `false`: the issuer does not validate its own TSA chain |
| `anchor` | `state` (`none`, `pending`, `anchored`, `confirmed`), `leaf_hash`, `root`, `chain`, `txid`, `merkle_proof` |
| `evidence.depends_on_esreal` | the checks a verifier cannot reproduce without the issuer. Currently `["hmac"]` |
| `valid` | the issuer's own verdict. A verifier MUST NOT rely on it |

The `anchor` block is assembled at read time, after issuance. Its `txid` and `root` are a pointer,
not evidence, until the verifier has looked at the chain. A bundle fetched while `anchor.state` is
`pending` has no blockchain leg; fetching the same vURL later yields the same `payload`, `datahash`
and `url_hash`.

---

## 11. Verification

### 11.1 Requirements

A verifier needs SHA-256, a JSON parser, HTTPS and DNS. No account and no key.

A verifier MUST report **per step**, with the status of each step, and not only an overall verdict.
Step statuses are:

| Status | Meaning |
|---|---|
| `pass` | the check succeeded |
| `fail` | the check was performed and did not succeed |
| `absent` | the evidence for this check is not published. Not a failure |
| `not_established` | the verifier did not establish this (for example qualified status) |
| `skipped` | not performed, because an earlier step failed |
| `unknown` | the check could not be completed (network error, resolver failure) |

### 11.2 Step 0: fetch

Fetch the bundle (Section 10.1). HTTP 404 or 410 means `absent`: no proof is published. That is not
a failed verification and MUST NOT be reported as one.

### 11.3 Step 1: the payload matches the link

```
sha256( canonical(payload) ) == datahash in the vURL
```

On failure, stop: the payload and the link do not belong together.

A verifier MUST be able to canonicalise every payload, including payloads that the construction
rules of Appendix B would refuse today. A verifier that rejects them declares valid evidence
invalid.

### 11.4 Step 2: the link hashes to the stated value

Rebuild the canonical vURL string (Section 7.2) and compute `url_hash`. Compare with
`url_integrity.url_hash`. On failure, stop.

### 11.5 Step 3: the proof belongs to the domain it was fetched from

```
payload.domain == the host requested, or the host is a subdomain of payload.domain
```

Reject everything else. **This step is what makes the others meaningful.** A copied bundle is
cryptographically perfect and belongs to another domain; without this comparison a look-alike
passes every other check.

### 11.6 Steps 4 and 5: the time stamp

Decode the token and read its `messageImprint`. It MUST equal `url_hash`. Then verify the token's
signature and certificate chain, for example:

```
openssl ts -verify -in token.tsr -token_in -digest <url_hash> -CAfile <roots>
```

Implementers note: `TSTInfo` sits inside the `eContent` OCTET STRING of the CMS envelope [RFC5652].
A DER walk that only descends into constructed elements finds the `message-digest` attribute instead
of the imprint.

### 11.7 Step 6: qualified or merely valid

Qualified status is established only by resolving the TSA's chain to a qualified trust service on
the EU Trusted Lists. Without that lookup the status is `not_established`, which is different from
"not qualified".

### 11.8 Step 7: the identity at issuance

```
sha256( payload.vdomain_attestation.vdomain.domain ) == ...vdomain.domain_hash
```

Then fold `domain_hash` to `vdomain.anchor.root`: if they are equal, the root is the leaf itself;
otherwise fetch the inclusion path from the register (Section 5.6) and fold it (Section 8.3). A
verifier MUST NOT assume that a batch contains a single entry.

### 11.9 Step 8: the live DNS, and the holder's endorsement

**8a, the DNS today.** Query every `{name, type}` in `payload.records` and compare the values. Before
comparing, normalise both sides: names lowercase, no trailing dot, A-labels; values sorted as
strings; `AAAA` lowercase; `CNAME` and `NS` lowercase without trailing dot.

A difference is a `fail`, reported with the records that differ and how. The check cannot tell a
takeover from a holder who changed records without issuing a new proof, and it MUST NOT report a
cause.

A verifier SHOULD query at least two independent resolvers. Because UDP port 53 is intercepted on
many networks, a verifier SHOULD test whether its resolver choice is honoured (for example by
querying an address from [RFC5737] that cannot answer) and SHOULD use DNS over HTTPS [RFC8484]
otherwise. NXDOMAIN is an answer (an empty set); SERVFAIL, REFUSED and time-outs are `unknown`.

**8b, the endorsement.** Fetch `_etip.<payload.domain>` TXT and apply Section 9.3.

### 11.10 Step 9: the blockchain

Fold `url_hash` through `anchor.merkle_proof` to the issuer root, and through the issuer-to-global
path to the global root. Then find the global root in the output of transaction `anchor.txid` on
`anchor.chain`, using any explorer for that chain.

**The one check that needs the issuer.** The bundle carries the issuer's MAC (`hmac`, and `sig` in
the vURL) over `type|obj|ts`, with a key only the issuer holds. A verifier cannot check it and does
not need to: the anchored `url_hash` covers the whole vURL including `sig`, so any altered character
breaks both the time stamp and the inclusion. What the MAC adds is proof of authorship before the
proof is anchored. A symmetric MAC gives no non-repudiation; that is why the load-bearing
attestations are the two that are not the issuer's to write.

### 11.11 What a complete pass establishes

| Established | By |
|---|---|
| the payload has not changed since issuance | steps 1, 2 |
| the proof was issued for this domain | step 3 |
| these bytes existed no later than the token's time | steps 4, 5 |
| that time carries the legal presumption of [eIDAS] Art. 41 | step 6, **only** if qualified |
| the proof was issued under a registered, verified vDOMAIN | step 7 |
| the DNS is unchanged since the snapshot | step 8a |
| the holder's zone endorses this proof, now | step 8b |
| a public blockchain recorded the value | step 9 |

It does not establish that the recorded data was true, that nothing was left out, or authorship
in the window before anchoring.

---

## 12. Assurance levels

### 12.1 The levels (stable codes)

An answer is given at the level that is established, never at a lower one.

| Level | What can be stated | What is not covered |
|---|---|---|
| `none` | nothing: there is no register entry and no proof | everything. This is not an indication in either direction |
| `identity` | the domain is linked to a legal entity checked against an official register | the live website and its DNS |
| `identity_anchored` | as `identity`, and the entry is in a public blockchain transaction, so it cannot be rewritten unnoticed | as `identity` |
| `published_proof` | a proof is published for this domain, but not every link is confirmed | the unconfirmed links, which MUST be named |
| `vdns` | identity, anchoring, the published proof, the live DNS and the `_etip` endorsement all agree, now | what is offered on the site, and whether the recorded facts were true |
| `contradiction` | sources contradict each other | the cause, which is unknown by construction |

### 12.2 Derivation

| Level | Condition |
|---|---|
| `none` | step 0 `absent`, and no `verified` register entry for the domain |
| `identity` | a `verified` register entry, without a confirmed anchor; no proof |
| `identity_anchored` | a `verified` register entry whose inclusion folds to an anchored root; no proof |
| `published_proof` | steps 1 to 3 `pass`, no step `fail`, at least one of steps 4 to 9 not `pass` |
| `vdns` | steps 1 to 5, 7, 8a, 8b and 9 `pass` |
| `contradiction` | any step `fail` |

Step 6 does not affect the level; it is reported separately.

---

## 13. Presenting a result

These rules apply to any interface that shows a vDNS result to a person, including an AI agent.
They are normative because a result presented wrongly does more harm than no result.

1. `none` MUST NOT be presented as a warning, a failure, a risk or a suspicion. Most domains do not
   participate, and absence of evidence points nowhere.
2. `contradiction` MUST be reported in full, with the steps that failed, and MUST NOT be presented
   as a finding of fraud or of deliberate alteration.
3. An interface MUST NOT call a website "safe", "secure", "verified" or "100%". It MAY state that the
   **holder** is verified, and what each link establishes.
4. At `vdns`, every link MAY be stated and passed on: the vURL, `url_hash`, `datahash`, the DNS
   snapshot, the time stamp and its TSA, the transaction, and the endorsement. The receiver can
   recompute them.
5. Recognising a well-known organisation is not checking its domain. A known name is the kind most
   worth copying.
6. A missing score is not a zero.
7. An interface MUST NOT state that a time stamp is qualified unless step 6 established it, or unless
   it clearly presents the issuer's declaration as a declaration.

---

## 14. Security considerations

### 14.1 Threat model

An attacker may: register look-alike domains (C1); copy any published bundle (C2); intercept or
answer DNS on the visitor's network (C3); take over the holder's web server (C4); operate as or
compromise the issuer (C5). The attacker cannot: publish records in the original domain's zone (C6),
make a TSA sign a past time for its value, or rewrite a public blockchain.

### 14.2 What each capability achieves

| Capability | Result |
|---|---|
| C1 + C2: copy to a look-alike | step 3 fails; the `_etip` record cannot be published in the original zone |
| C3: answer DNS locally | step 8a is affected; mitigated by resolver testing and DNS over HTTPS (11.9) |
| C4: serve another bundle on the real site | step 8b fails: bundle and zone contradict |
| C5: a dishonest issuer | cannot back-date a time stamp or an anchor; cannot publish in the holder's zone. Can issue proofs for false data, which the holder's endorsement and the register check constrain |
| control of the holder's zone | the attacker is then the holder for DNS purposes; vDNS reports a contradiction with the earlier snapshot until a new proof is issued |

### 14.3 Residual risks

- A verified holder can act in bad faith. Identity is not conduct.
- The identity check is as good as the validator's check against the official register.
- A domain that is not in the register gives `none`; a look-alike of a participating domain is not
  flagged by vDNS itself. vDNS confirms the original; it does not detect the copy.
- The blockchain leg depends on the chain remaining available.
- Between issuance and anchoring, authorship rests only on the issuer's MAC.

---

## 15. Privacy considerations

- The register anchors only `domain_hash`, never a domain in clear.
- Register entries and proofs MUST NOT contain names of natural persons. `org_name` is the name of a
  legal entity as it appears on a public register.
- A proof contains public DNS data only.
- A verifier SHOULD NOT send the visitor's browsing history to a third party to perform a check. A
  verifier MAY download the list of registered `domain_hash` values and check locally.

---

## 16. Versioning and frozen formats

The following are frozen. A correction can only appear as a new definition with its own identifier;
the existing one remains valid for evidence issued under it.

| Item | Value |
|---|---|
| hash | SHA-256 |
| canonical JSON | Section 6.3 |
| vURL query order | `obj`, `datahash`, `ts`, `sig` |
| `url_hash` | Section 7.2 |
| Merkle construction | `sha256-pairwise-dup-last-v1` |
| time stamp | [RFC3161], imprint `url_hash` |
| holder endorsement | `_etip` TXT, `v=etip1`, Section 9.1 |
| discovery | `/.well-known/vproof.json` |
| payload format | `dns_version` inside the payload |

---

## 17. Implementation status and contact

> This section records the state of implementations at the date of this draft, in the manner of
> [RFC7942]. It will be removed from a final version.

| Item | State |
|---|---|
| issuer and register | in production, operated by EsReal BV |
| current blockchain | DigiByte, Litecoin as second chain where configured |
| register inclusion path | `GET https://anchor.esreal.org/api/anchor/v1/vdomain/proof?domain=<domain>` |
| reference verifier | `vproof-js`, MIT licence, Appendix C |
| public check | `https://esreal.org/tools/check.html?domain=<domain>` |

Comments on this draft: EsReal BV, via the contact details at `https://esreal.be`.

---

## 18. References

### 18.1 Normative

- [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119.
- [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174.
- [RFC3161] Adams, C. et al., "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)", RFC 3161. Updated by RFC 5816.
- [RFC3986] Berners-Lee, T. et al., "Uniform Resource Identifier (URI): Generic Syntax", RFC 3986.
- [RFC5652] Housley, R., "Cryptographic Message Syntax (CMS)", RFC 5652.
- [RFC8259] Bray, T., "The JavaScript Object Notation (JSON) Data Interchange Format", RFC 8259.
- [RFC8785] Rundgren, A. et al., "JSON Canonicalization Scheme (JCS)", RFC 8785.
- [FIPS180-4] NIST, "Secure Hash Standard (SHS)", FIPS PUB 180-4.
- [VURL] EsReal BV, "vURL: the format of a time-stamped, anchored reference". To be published.

### 18.2 Informative

- [RFC1034] [RFC1035] Mockapetris, P., Domain Names.
- [RFC4033] Arends, R. et al., "DNS Security Introduction and Requirements", RFC 4033.
- [RFC5737] Arkko, J. et al., "IPv4 Address Blocks Reserved for Documentation", RFC 5737.
- [RFC6698] Hoffman, P., Schlyter, J., "The DANE TLS Protocol: TLSA", RFC 6698.
- [RFC7942] Sheffer, Y., Farrel, A., "Improving Awareness of Running Code: The Implementation Status Section", RFC 7942.
- [RFC8484] Hoffman, P., McManus, P., "DNS Queries over HTTPS (DoH)", RFC 8484.
- [RFC8552] Crocker, D., "Scoped Interpretation of DNS Resource Records through Underscored Naming of Attribute Leaves", RFC 8552.
- [RFC9162] Laurie, B. et al., "Certificate Transparency Version 2.0", RFC 9162.
- [eIDAS] Regulation (EU) No 910/2014, as amended by Regulation (EU) 2024/1183, Articles 41 and 42.
- [VDNS-AGENT] EsReal BV, "vDNS for AI agents: the agentproof vURL type", `draft-esreal-vdns-agent-00`. Companion document.

---

## Appendix A. Test vectors

**A.1 Merkle.** The root over exactly two leaves, 32 bytes of `0x00` and 32 bytes of `0x11`:

```
8878b15a7d6a3a4f464e8f9f42591dbc0cf4bedea0ec309003d2b2ee53655ef8
```

Another result almost always means the hexadecimal text was hashed instead of the raw bytes.

**A.2 Endorsement.** `vhash` combines raw bytes, in the order `url_hash` then `sha256(domain)`. Hashing
the hexadecimal text, or swapping the order, gives a different value. A full vector with a published
proof is listed in Appendix D.

## Appendix B. Payload construction rules

An issuer MUST refuse a payload that breaks one of these rules, at creation. A verifier MUST NOT apply
them.

| # | Rule | Reason |
|---|---|---|
| 1 | no empty object; an empty list is allowed | data loss |
| 2 | no keys consisting only of digits | data loss |
| 3 | integers within ±9 007 199 254 740 991 | hash divergence |
| 4 | no exponent notation with an integer mantissa | hash divergence |
| 5 | no keys containing a character above U+FFFF | hash divergence |
| 6 | no negative zero | hash divergence |

These rules make byte-exact reimplementation possible: UTF-8 byte order and UTF-16 code-unit order
differ only above U+FFFF, and the number forms on which common serialisers disagree are excluded.

## Appendix C. Reference implementation

`vproof-js` implements Section 11 in full and reports per step. It is published under the MIT
licence as a library, a command-line tool and a browser demonstration, together with the tests that
map each attack in Section 14 to an executable case.

## Appendix D. Open issues

To be resolved before a final version.

1. **Full test vectors.** A complete worked example: a published payload, its canonical bytes,
   `datahash`, the vURL, `url_hash`, `vhash`, and a token, so that an implementer can test every
   step offline.
2. **Several `_etip` records.** Whether a zone may publish more than one `v=etip1` record (for
   example during a change-over), and how a verifier treats them.
3. **Register validation flags.** Which flags a register publishes in `validation`, with their
   meaning, so that they are interoperable between registers.
4. **More than one register.** How a verifier discovers which register vouches for a domain when
   several registers exist.
5. **Assurance derivation.** Confirm Section 12.2 against the reference implementation for each
   combination, in particular a `revoked` register entry and a pending anchor.
6. **The vURL specification** [VURL], to which Section 7 refers.
7. **Media type** for the bundle, and a registration of the `.well-known` suffix `vproof.json` and of
   the `_etip` underscored name [RFC8552].
