Add 4 new packages implementing unified device intelligence and DNS provider API management: - secubox-app-dns-provider: dnsctl CLI with OVH, Gandi, Cloudflare adapters for DNS record CRUD, HAProxy vhost sync, propagation verification, and ACME DNS-01 wildcard certificate issuance - luci-app-dns-provider: RPCD handler + LuCI views for provider settings and DNS record management - secubox-app-device-intel: Aggregation layer merging mac-guardian, client-guardian, DHCP, P2P mesh, and exposure data with heuristic classification engine and USB/MQTT/Zigbee emulator modules - luci-app-device-intel: RPCD handler + 5 LuCI views (dashboard, devices, emulators, mesh, settings) with shared API and CSS Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
secubox-app-dns-provider — Continue / Next Steps
Immediate Next Steps
- Test on router: Deploy dnsctl + adapters, configure OVH/Gandi/Cloudflare credentials, verify CRUD operations
- Test LuCI views: Deploy RPCD handler + JS views, verify settings form saves correctly, test record operations from UI
- ACME DNS-01 integration: Wire
dnsctl acme-dns01into haproxyctl's certificate management flow
Phase 2: Additional Providers
- GoDaddy adapter (
godaddy.sh): REST API with API Key + Secret, similar pattern to Cloudflare - Namecheap adapter (
namecheap.sh): XML API with API Key + IP whitelist - Self-hosted relay: Local DNS server (dnsmasq or PowerDNS) that syncs records to upstream providers
Phase 3: Multi-Node DNS Mesh
- Mesh DNS announcement: Each secubox node announces its public IP and managed domains to P2P peers
- Dynamic DNS updater: Periodic public IP check + auto-update records when IP changes
- Reverse DNS: Provider API calls to configure PTR records
- DNS failover: Multi-provider configuration for redundancy
Phase 4: Decentralized DNS
- Blockchain anchoring: Anchor DNS records to ENS/Handshake for censorship resistance
- Peer DNS cache: Mesh nodes share DNS resolution cache
- Uncensored resolution: Fallback to mesh peer DNS when upstream resolvers are filtered
Integration Points
- Device Intelligence: "Expose via DNS" action from device context → create DNS record + HAProxy vhost + ACME cert
- HAProxy: Auto-sync vhosts to DNS when domains are configured
- Exposure Engine: Link exposed services to DNS management
- P2P Mesh: Federate DNS records across mesh nodes