Skip to content

Add DNS records for names owned in the W3BS Moshpit instance - #267

Merged
ralyodio merged 2 commits into
mainfrom
fix/instance-dns-records
Oct 31, 2026
Merged

ralyodio merged 2 commits into
mainfrom
fix/instance-dns-records

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

W3BS previously exposed registration and redirects but no DNS-record management. Add /net/records using the primary Moshpit records workflow: filter owned names, publish AAAA/CNAME/MX/TXT with TTL and MX priority, inspect and remove records, with inline success/errors and retained input. APIs enforce local W3BS ownership and active name/namespace status; imported primary-network records remain read-only. CNAME exclusivity is serialized, including PostgreSQL name-row locking. Discovery identifies this as a separate Moshpit instance.

The companion resolver change queries this instance's APIs for names under w3bs.org rather than treating the primary network's ownership as equivalent. DNS and public HTTPS readiness are explicitly separate; a registrar/ACME failure is not hidden by a successful resolver query.

Validation: full local suite 158 passed / 4 skipped; syntax/signature checks passed. New integration regression covers ownership, inactive namespaces, public reads, AAAA/MX/TXT, CNAME conflicts/concurrent writes, deletion and validation. Desktop 1440px and mobile 390px browser checks passed for publishing/removing, conflict feedback, retained input, retry, no JS errors and no overflow. CI also exercises PostgreSQL.

Signed-off-by: Anthony Ettinger <anthony@chovy.com>
Signed-off-by: Anthony Ettinger <anthony@chovy.com>
@ralyodio
ralyodio merged commit cea8e97 into main Oct 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant