Skip to main content

SHEET 06 OF 41

/DOC/:SLUG

PART:
03 DOCUMENTATION
CIRCULATION:
PUBLIC
SOURCE:
pages/Doc/[...Slug].astro
AS OF:
2026-12-02

Mist DNS isolation layer - local authoritative DNS server for the editor.land zone, Hickory DNS architecture, forward allowlist enforcement, DNSSEC zone signing, and resolver construction for consumer integration.

/Deep Dive

Mist - Deep Dive

Mist DNS isolation layer - local authoritative DNS server for the editor.land zone, Hickory DNS architecture, forward allowlist enforcement, DNSSEC zone signing, and resolver construction for consumer integration.

PUBLISHED DEEP DIVE Source/Content/doc/deep-dive-mist.md UNAVAILABLE UNAVAILABLE ARCHITECTURE 14

STATUS UNAVAILABLE NEXT OPEN THE ELEMENT'S MANUAL - IT DESCRIBES THE THING THE CAPTURE WOULD HAVE SHOWN.

# PLATE_01 / MIST

FIGURE: The capture this record's evidence would show: low fog bank in soft light.

This element has no evidence manifest in the build, so there is no capture to describe. The record above still prints its working - form, boundary, dependencies, manual and trace - and none of those fields is a picture.

SUBJECT:
LOW FOG BANK IN SOFT LIGHT
MANIFEST:
UNAVAILABLE
STATE:
UNAVAILABLE
PLATE:
UNAVAILABLE

SOURCE: SOURCE/CONTENT/ELEMENT/WORKING.TS

Mist provides the technical foundation for the DNS isolation layer within the Land project. Mist operates a local authoritative DNS server for the editor.land zone, ensuring all private network communication stays on loopback and preventing sidecars from reaching unauthorized external hosts.


Architecture

Mist is a Rust library built on Hickory DNS. It exposes a public API for starting the server, querying the bound port, and constructing resolvers. The DNS catalog contains two zones: an authoritative zone for editor.land and a restricted forward allowlist for external queries.

Mermaid diagram

Key Modules

Path Description
Source/Library.rs Public library API: start(port), dns_port(), module re-exports
Source/Server.rs Hickory DNS server: UDP/TCP socket binding, catalog wiring, async accept loop
Source/Zone.rs editor.land zone configuration: SOA, A records, wildcard resolution
Source/Resolver.rs LandDnsResolver - DNS client pointed at the local server for consumer use
Source/ForwardSecurity.rs Forward allowlist: DefaultForwardAllowlist() and the REFUSED path
Source/WebSocket.rs JSON-RPC over WebSocket for the Sky↔Cocoon direct path (port 5051)
tests/integration.rs Integration tests: zone resolution, DNSSEC verification, forward blocking

Data Flow

Mermaid diagram

Startup Sequence

  1. Mountain calls Mist::start(5380) during initialization.
  2. Mist attempts to bind to port 5380; if unavailable, portpicker selects an alternative.
  3. The bound port is stored in Mountain’s DnsPort managed Tauri state.
  4. Mountain passes the port to Air and SideCar so they configure their DNS clients accordingly.

Integration Points

Connecting Element Direction Mechanism Description
Mountain Consumer Mist::start() Rust API Mountain starts Mist and stores the port in DnsPort managed state
SideCar Consumer Environment variable SideCar passes the DNS port to spawned Node.js processes via NODE_EXTRA_CA_CERTS / DNS override
Cocoon Indirect consumer Node.js DNS override Cocoon resolves cocoon.editor.land and Mountain gRPC addresses through Mist

Configuration

Parameter Value Description
Preferred port 5380 Primary bind port; falls back to any available port if taken
Bind address 127.0.0.1 Loopback only - no external interface exposure
Authoritative zone editor.land All subdomains resolve to 127.0.0.1
Forward allowlist update.editor.land Only this domain may be resolved externally
DNSSEC algorithm ECDSA P-256 Zone signing key algorithm
Transport UDP + TCP Hickory serves both; clients may use either

DNSSEC signing is performed at zone load time. The DNSKEY and RRSIG records are included in responses to clients that request DNSSEC data (DO bit set).

The record this page documents, as the site files it: the six facts the claim is checked against, and the three files the manual names to check it.

WORKING, 06

FORM:
DNS SANDBOX
WRITTEN IN:
RUST
BOUNDARY:
LOOPBACK SOCKET
DEPENDS ON:
MOUNTAIN
MANUAL:
/DOC/DEEP-DIVE-MIST
EVIDENCE:
UNAVAILABLE NO MANIFEST IN THE BUILD

# TRACE / MIST 03 STEPS

  1. 01 Source/Resolver.rs THE RESOLVER
  2. 02 Source/Server.rs THE LOOPBACK SERVER
  3. 03 Source/ForwardSecurity.rs THE ALLOWLIST

SOURCE: /DOC/DEEP-DIVE-MIST

Deep Dive, 15 PAGES, page 14 of 15

THE LAYER'S INDEX

NEXT: /BLOG 04 BLOG

NOTES FROM THE BUILD, NEWEST FIRST

〈06〉 /DOC/:SLUG 41 SHEETS AS OF: 2026-12-02