Technical Field NotesBack to articles
Peer-to-peer networking ยท Updated October 10, 2026

Iroh 1.2.0: Relay Auth Denial Reasons and DNS Builder Deprecations

Iroh 1.2.0 adds RelayStatus::auth_denied_reason and deprecates old iroh-dns nameserver builders. What relay-authenticated deployments should check.

Short answer: Iroh 1.2.0 exposes a relay status reason when authentication is denied and deprecates the old iroh-dns nameserver builders; for operators running authenticated relays or custom DNS discovery, the release turns silent failures into observable ones. This is an independent technical field note. It separates what the project documentation and release records say from what an operator still has to test. The goal is a useful decision record, not a promise about performance, security, compatibility, or operating cost.

Why denial reasons matter

Authenticated relays are how an iroh deployment keeps its relay infrastructure private: the relay accepts only authorized nodes, and everyone else gets denied. Before 1.2.0, a client saw a denial without a reason, which made the difference between an expired credential, a wrong relay URL, and a policy change indistinguishable from the client side. The release notes list RelayStatus::auth_denied_reason as a new feature with an example, turning that class of silent failure into an observable status an application can log, alert on, or surface in a UI.

The DNS builder deprecation is a clock

The release also deprecates the old iroh-dns nameserver builders. Deprecation is not removal, but in a library that ships frequent point releases, deprecated APIs have a way of disappearing in the next minor. Applications with custom DNS discovery should treat the migration as scheduled work: find every call site, move to the current builders, and test resolution against the production discovery server before the removal lands in a release an upgrade pulls in accidentally.

How 1.2.0 fits the 1.x line

Iroh's 1.x series stabilized the key-addressed endpoint model, and point releases since have refined relay authentication, DNS handling, and rate limiting signals. 1.2.0, published in September 2026, continues that pattern: observable status where operators previously guessed, and API surface retirement ahead of future changes. The release that follows it, 1.3.0, adds batch datagram APIs and a rustls security bump, and the two together make a reasonable upgrade window for deployments several point releases behind.

Verification steps

Against a staging relay with authentication enabled: connect a node with valid credentials and confirm the status reports connected; connect one with deliberately bad credentials and confirm the new denial reason is populated and correct; then exercise DNS discovery through the current builders and confirm resolution timing looks like the old path. Record the results alongside the crate versions, because relay and discovery behavior is exactly where a library upgrade can silently change an operational contract.

Operational uses for the denial reason

An observable denial reason changes how relay problems get handled. An expired credential surfaces as an authentication denial with a recognizable cause, which an application can translate into a re-authentication prompt instead of a generic relay error. A misconfigured relay URL produces a different failure shape than a policy denial, letting a rollout catch a bad configuration value in the first minutes instead of the first incident report. For fleet operators, wiring the denial reason into structured logs turns relay access control from a silent gate into an auditable one: you can answer who was denied, when, and why, which is the record a security review asks for after any incident involving relay infrastructure.

Planning the DNS builder migration as real work

Deprecations are easy to defer and expensive to rush. The iroh-dns nameserver builders being deprecated means any application constructing a custom discovery client should schedule the migration now, while the old builders still work. The mechanical part is small: the current builders replace the old ones at each call site. The verification part is where the time goes, because DNS discovery sits at the start of every connection path, and a subtle change in resolver behavior shows up as slow first connections, not errors. Test resolution timing against the production discovery server before and after the migration, with the same relay and peer set, so the comparison isolates the builder change.

A minimal test matrix for the release

Four cases cover the release: a valid credential connects and reports connected; an expired credential is denied with an authentication reason; a wrong relay URL fails with a resolution or connection error distinct from the denial; and a DNS discovery lookup through the current builders resolves the same peer set the old builders returned. Any application with relay authentication and custom discovery can run these four cases in a staging environment in under an hour, and the results, recorded with crate versions, make the 1.2.0 adoption a documented decision rather than a version bump.

Questions this field note answers

The questions below restate the acceptance checks an operator should be able to answer before relying on the behavior described above.

Limitations

Related infrastructure context

For the physical layer around a systems deployment, TismTek provides fiber and network infrastructure work near Aurora. The team also documents on-premises compute and private AI systems. For a site discussion, call (720) 694-1976. See the 3-2-1 backup guide for recovery planning and the private AI systems overview for the broader on-premises context.

Sources