Skip to content

Add DNS best-practice scanner and safer zone operations - #8

Draft
GibbyOH wants to merge 2 commits into
mainfrom
codex/dns-safety-and-best-practices
Draft

Add DNS best-practice scanner and safer zone operations#8
GibbyOH wants to merge 2 commits into
mainfrom
codex/dns-safety-and-best-practices

Conversation

@GibbyOH

@GibbyOH GibbyOH commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

DNS writes could leave a partially changed zone after a failure, and snapshot restores could target obsolete Cloudflare record IDs or mix same-name zones. This change adds guarded provider writes, conservative recovery that preserves unrelated edits, stable zone targeting, protected-record handling, and preflight validation.

The desktop now includes a best-practice scanner with guided A/AAAA, CNAME, MX, SPF, DMARC, DKIM, CAA, and no-mail setup. Suggestions are previewed and staged for normal apply. An active-profile dropdown beside Accounts, persisted profile selection, enforced read-only access, encrypted drafts, cancellation, custom TTL preservation, and safe provider switching support that flow. Update downloads verify SHA-256; execution additionally requires a valid signature matching a configured trusted publisher.

Validation: 61 offline automated tests (54 core/provider and 7 WPF desktop), Windows PowerShell 5.1 JEA integration check, public-source scan, and rendered desktop inspection. The release script builds self-contained Windows x64 executable, portable ZIP, and installer with license notices and checksums.

The 0.7.1 preview is unsigned. Profile selection now connects only the chosen profile; empty profiles show setup guidance instead of Default or demo zones. No live provider zones were changed during verification. Providers without conditional-write support retain a read/write race window; ambiguous recovery requires administrator review. A trusted signing certificate and disposable-zone provider testing remain prerequisites for a production release.

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