secubox-openwrt/package/secubox/luci-app-dns-provider
CyberMind-FR 1bbd345cee refactor(luci): Mass KissTheme UI rework across all LuCI apps
Convert 90+ LuCI view files from legacy cbi-button-* classes to
KissTheme kiss-btn-* classes for consistent dark theme styling.

Pattern conversions applied:
- cbi-button-positive → kiss-btn-green
- cbi-button-negative/remove → kiss-btn-red
- cbi-button-apply → kiss-btn-cyan
- cbi-button-action → kiss-btn-blue
- cbi-button (plain) → kiss-btn

Also replaced hardcoded colors (#080, #c00, #888, etc.) with
CSS variables (--kiss-green, --kiss-red, --kiss-muted, etc.)
for proper dark theme compatibility.

Apps updated include: ai-gateway, auth-guardian, bandwidth-manager,
cloner, config-advisor, crowdsec-dashboard, dns-provider, exposure,
glances, haproxy, hexojs, iot-guard, jellyfin, ksm-manager,
mac-guardian, magicmirror2, master-link, meshname-dns, metablogizer,
metabolizer, mqtt-bridge, netdata-dashboard, picobrew, routes-status,
secubox-admin, secubox-mirror, secubox-p2p, secubox-security-threats,
service-registry, simplex, streamlit, system-hub, tor-shield,
traffic-shaper, vhost-manager, vortex-dns, vortex-firewall,
webradio, wireguard-dashboard, zigbee2mqtt, zkp, and more.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-12 11:09:34 +01:00
..
htdocs/luci-static/resources/view/dns-provider refactor(luci): Mass KissTheme UI rework across all LuCI apps 2026-03-12 11:09:34 +01:00
root/usr fix(rpcd): Wrap call handlers in function for BusyBox ash local keyword compatibility 2026-02-04 16:39:50 +01:00
Makefile feat: Add device-intel and dns-provider packages 2026-02-04 15:47:20 +01:00
README.md feat: Add device-intel and dns-provider packages 2026-02-04 15:47:20 +01:00

luci-app-dns-provider

LuCI web interface for the SecuBox DNS Provider Manager.

Overview

Provides a web UI for managing DNS records via provider APIs (OVH, Gandi, Cloudflare). Two views: Records management and Settings configuration.

Views

Records (dns-provider/records)

  • Status bar: provider, zone, enabled state
  • Action buttons: Add Record, Sync HAProxy Vhosts, ACME DNS-01, Refresh
  • Zone records display (raw provider API output)
  • Add Record modal: type, subdomain, target, TTL
  • DNS propagation checker (1.1.1.1, 8.8.8.8, 9.9.9.9)

Settings (dns-provider/settings)

  • General: enable, provider select, zone
  • OVH: endpoint, app_key, app_secret, consumer_key
  • Gandi: API key / PAT
  • Cloudflare: API token, zone_id
  • Test Credentials button

RPCD Methods

Method Params Description
get_config Config with masked secrets
list_records Fetch zone records from provider
add_record type, subdomain, target, ttl Create DNS record
remove_record type, subdomain Delete DNS record
sync_records Sync HAProxy vhosts to DNS
verify_record fqdn Check propagation
test_credentials Validate API credentials
acme_dns01 domain Issue cert via DNS-01

Files

root/usr/libexec/rpcd/luci.dns-provider              RPCD handler
root/usr/share/luci/menu.d/luci-app-dns-provider.json Menu entry
root/usr/share/rpcd/acl.d/luci-app-dns-provider.json  ACL permissions
htdocs/.../view/dns-provider/records.js               Records view
htdocs/.../view/dns-provider/settings.js              Settings view

Dependencies

  • luci-base
  • secubox-app-dns-provider