Browser Stub/extension: test site on a no-DNS hostname (e.g. test.ronhelwig.com) #7

Open
opened 2026-10-10 18:23:09 +00:00 by rhelwig · 4 comments
Owner

We need a test of the planned Browser Stub / extension, which reads a site from its ownership record even when DNS is blocked or missing.

Idea: publish a test site whose proposed domain is never registered in DNS, for example test.ronhelwig.com. The extension must find and render it purely from the Platform ownership record and IPFS. This is the "you can't be censored even if your domain is blocked" scenario from the Introducing Decent Site post.

Wanted:

  • A small test site published under a no-DNS hostname.
  • The extension resolves the hostname, finds the site record and loads verified content from preferred sources or gateways.
  • Document the result.
  • Watch the cost: it's a separate site, so expect its own writes and possibly a contract registration. Estimate before publishing.

Follow-up notes: https://git.ronhelwig.com/rhelwig/DecentSite/src/branch/main/docs/PUBLISH-FOLLOWUPS-2026-10-10.md

We need a test of the planned Browser Stub / extension, which reads a site from its ownership record even when DNS is blocked or missing. **Idea:** publish a test site whose proposed domain is never registered in DNS, for example `test.ronhelwig.com`. The extension must find and render it purely from the Platform ownership record and IPFS. This is the "you can't be censored even if your domain is blocked" scenario from the Introducing Decent Site post. **Wanted:** - A small test site published under a no-DNS hostname. - The extension resolves the hostname, finds the site record and loads verified content from preferred sources or gateways. - Document the result. - Watch the cost: it's a separate site, so expect its own writes and possibly a contract registration. Estimate before publishing. Follow-up notes: https://git.ronhelwig.com/rhelwig/DecentSite/src/branch/main/docs/PUBLISH-FOLLOWUPS-2026-10-10.md
Author
Owner

Progress: the first increment is in PR #12 (feat/no-dns-test-site).

  • Site reference v0 (provisional): decentsite:?v=0&net=…&contract=…&layout=…&owner=…&site=…, with optional release, path, name, host. Only network, contract, owner and site key (plus release) are used for lookup. Name and host are hints.
  • Stub discovery hint: /.well-known/decentsite.json and siteReference in /health, built from config only and never from the Host header.
  • scripts/open-site.mjs: read-only resolve --verify, serve, discover and ref. ronhelwig.com was resolved and served on 127.0.0.1 from its reference alone, with 18/18 blobs hash-verified.
  • Dry-run test site test-ronhelwig-com (host hint test.ronhelwig.com, not in DNS): local backend in a separate data dir; served on 127.0.0.1:8793.

Not done yet: publishing the test site to mainnet. That needs Ron's OK on the fee (expected about 0.005–0.01 DASH on the existing owner contract, with no registration). Also not done: deploying the Stub change to the VPS. Gaps (no owner-signed hostname in the site record, IPFS gateway on the same domain, web+ scheme, exact-edition serve, DPNS lookup) and browser notes are in docs/NO-DNS-SITE-REFERENCES.md. Leaving this issue open.

Progress: the first increment is in **PR #12** (`feat/no-dns-test-site`). - **Site reference v0** (provisional): `decentsite:?v=0&net=…&contract=…&layout=…&owner=…&site=…`, with optional `release`, `path`, `name`, `host`. Only network, contract, owner and site key (plus release) are used for lookup. Name and host are hints. - **Stub discovery hint**: `/.well-known/decentsite.json` and `siteReference` in `/health`, built from config only and never from the Host header. - **`scripts/open-site.mjs`**: read-only `resolve --verify`, `serve`, `discover` and `ref`. ronhelwig.com was resolved and served on 127.0.0.1 from its reference alone, with 18/18 blobs hash-verified. - **Dry-run test site** `test-ronhelwig-com` (host hint `test.ronhelwig.com`, not in DNS): local backend in a separate data dir; served on 127.0.0.1:8793. Not done yet: publishing the test site to mainnet. That needs Ron's OK on the fee (expected about 0.005–0.01 DASH on the existing owner contract, with no registration). Also not done: deploying the Stub change to the VPS. Gaps (no owner-signed hostname in the site record, IPFS gateway on the same domain, `web+` scheme, exact-edition serve, DPNS lookup) and browser notes are in `docs/NO-DNS-SITE-REFERENCES.md`. Leaving this issue open.
Author
Owner

Update on PR #12 (3759e10), per Ron's direction:

  • The test.ronhelwig.com test site is now small and original ("No Address Needed": home, "Check it yourself", one post), names DecentSite and links this repo, and is not a copy of any existing site, so nobody can call it a passthrough. A random fingerprint sentence is generated per build and never committed.
  • The "Check it yourself" page explains, step by step, how to prove by hand that the site metadata is on Dash Platform, the content is on IPFS, and the two are tied together (signed bodyHash = sha256sum of the IPFS bytes, and for bafkrei… CIDs the CID itself contains that hash). Checked against ronhelwig.com's live records.
  • open-site.mjs proof automates the same chain (ronhelwig.com: 18/18 pass).
  • Intended host stays test.ronhelwig.com with no DNS.
  • New gap: ipfs.io/dweb.link no longer return raw bytes, so the default fallback gateway needs replacing.

Still pending Ron's OK: merge, VPS Stub update, and the mainnet publish (~0.005–0.01 DASH, no contract registration). On-device testing of the latest apps happens once we reach the browser-extension coding gate.

Update on [PR #12](https://git.ronhelwig.com/rhelwig/DecentSite/pulls/12) (`3759e10`), per Ron's direction: - The `test.ronhelwig.com` test site is now **small and original** ("No Address Needed": home, "Check it yourself", one post), names DecentSite and links this repo, and is **not** a copy of any existing site, so nobody can call it a passthrough. A random fingerprint sentence is generated per build and never committed. - The **"Check it yourself"** page explains, step by step, how to prove by hand that the site metadata is on Dash Platform, the content is on IPFS, and the two are tied together (signed `bodyHash` = `sha256sum` of the IPFS bytes, and for `bafkrei…` CIDs the CID itself contains that hash). Checked against ronhelwig.com's live records. - `open-site.mjs proof` automates the same chain (ronhelwig.com: 18/18 pass). - Intended host stays `test.ronhelwig.com` with **no DNS**. - New gap: ipfs.io/dweb.link no longer return raw bytes, so the default fallback gateway needs replacing. Still pending Ron's OK: merge, VPS Stub update, and the mainnet publish (~0.005–0.01 DASH, no contract registration). On-device testing of the latest apps happens once we reach the browser-extension coding gate.
Author
Owner

Update (2026-10-10): hash checks no longer depend on ipfs.ronhelwig.com — trustless raw/CAR retrieval from independent public gateways (Filebase, Pinata), verified against the CID and the signed SHA-256. ronhelwig.com passes 18/18 with open-site.mjs resolve --verify --no-preferred. Details in PR #12 (4b46a8d) and docs/NO-DNS-SITE-REFERENCES.md → "Content without the owner's gateway".

The "No Address Needed" test site (test-ronhelwig-com) is now in Ron's local Admin as drafts beside ronhelwig.com (not published; no Dash spent). Still open for this issue: merge #12, VPS Stub discovery hint, mainnet publish of the test site (Ron's approval/fee), and pinning with a second provider.

Update (2026-10-10): hash checks no longer depend on `ipfs.ronhelwig.com` — trustless raw/CAR retrieval from independent public gateways (Filebase, Pinata), verified against the CID and the signed SHA-256. ronhelwig.com passes 18/18 with `open-site.mjs resolve --verify --no-preferred`. Details in PR #12 (`4b46a8d`) and `docs/NO-DNS-SITE-REFERENCES.md` → "Content without the owner's gateway". The "No Address Needed" test site (`test-ronhelwig-com`) is now in Ron's local Admin as drafts beside ronhelwig.com (not published; no Dash spent). Still open for this issue: merge #12, VPS Stub discovery hint, mainnet publish of the test site (Ron's approval/fee), and pinning with a second provider.
Author
Owner

Mainnet publish succeeded (2026-10-10, ~4:50 PM ET), approved on the tablet in Auth 0.1.20.

Site reference (no DNS):

decentsite:?v=0&net=mainnet&contract=Hm7T6jsCutDpPC5VwvV77MnsN1K5Q24hBS9rJP2Uj7xS&layout=owner-v1&owner=5vnYqdCVJxEZ8KtDi25fDW7UEYAFi5kHDgTMpYRFmtML&site=test-ronhelwig-com&name=rhelwig7.dash&host=test.ronhelwig.com
  • Active release: release_d96c6a85-5bf0-4ff0-8a74-567f5d84ce83 (release 1). Same owner-specific contract as ronhelwig.com, so no contract registration.
  • Admin "Check Platform publication": Confirmed active. The active site and every metadata record match the frozen request (both the original and the renewed request).
  • open-site.mjs resolve --verify: ok, 4/4 blobs hash-checked (home, verify, why-no-dns, theme.css), dnsUsedForSiteHost: false, host hint matches the published base.
  • resolve --verify --no-preferred: ok, 4/4 without ipfs.ronhelwig.com (3 from Filebase, theme.css from Pinata after a slow ~26 s Filebase fallback).
  • Fingerprint marker ddbf4ddf is in the published home page fetched from Filebase.
  • DNS: test.ronhelwig.com is NXDOMAIN at 1.1.1.1, and local getent finds nothing. There's no wildcard record.

Still open for this issue:

  • Browser Stub/extension actually loading the site from the reference (this was only the CLI resolver).
  • Pinning with a second provider. Filebase/Pinata are serving it now, but nothing guarantees they keep it.
  • Adding Filebase as a preferred source on ronhelwig.com.
Mainnet publish succeeded (2026-10-10, ~4:50 PM ET), approved on the tablet in Auth 0.1.20. **Site reference (no DNS):** ``` decentsite:?v=0&net=mainnet&contract=Hm7T6jsCutDpPC5VwvV77MnsN1K5Q24hBS9rJP2Uj7xS&layout=owner-v1&owner=5vnYqdCVJxEZ8KtDi25fDW7UEYAFi5kHDgTMpYRFmtML&site=test-ronhelwig-com&name=rhelwig7.dash&host=test.ronhelwig.com ``` - Active release: `release_d96c6a85-5bf0-4ff0-8a74-567f5d84ce83` (release 1). Same owner-specific contract as ronhelwig.com, so no contract registration. - Admin "Check Platform publication": **Confirmed active.** The active site and every metadata record match the frozen request (both the original and the renewed request). - `open-site.mjs resolve --verify`: ok, 4/4 blobs hash-checked (home, verify, why-no-dns, theme.css), `dnsUsedForSiteHost: false`, host hint matches the published base. - `resolve --verify --no-preferred`: ok, 4/4 without `ipfs.ronhelwig.com` (3 from Filebase, theme.css from Pinata after a slow ~26 s Filebase fallback). - Fingerprint marker `ddbf4ddf` is in the published home page fetched from Filebase. - DNS: `test.ronhelwig.com` is NXDOMAIN at 1.1.1.1, and local getent finds nothing. There's no wildcard record. Still open for this issue: - Browser Stub/extension actually loading the site from the reference (this was only the CLI resolver). - Pinning with a second provider. Filebase/Pinata are serving it now, but nothing guarantees they keep it. - Adding Filebase as a preferred source on ronhelwig.com.
Sign in to join this conversation.
No labels
feature request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rhelwig/DecentSite#7
No description provided.