Removes more Wild Cloud cruft.

This commit is contained in:
2026-07-11 23:21:23 +00:00
parent ac66ba653d
commit 5d8fe6a754
21 changed files with 196 additions and 1391 deletions

View File

@@ -60,7 +60,7 @@ func (api *API) DnsmasqRestart(w http.ResponseWriter, r *http.Request) {
// DnsmasqGenerate generates the dnsmasq configuration from global config.
// Query param ?overwrite=true will write the config and restart the service.
// Instance-specific DNS records are managed via service registration (not here).
// Domain-specific DNS records are managed via domain registration and reconciliation.
func (api *API) DnsmasqGenerate(w http.ResponseWriter, r *http.Request) {
overwrite := r.URL.Query().Get("overwrite") == "true"
@@ -172,7 +172,7 @@ func writeConfigFile(path, content string) error {
}
// updateDnsmasqConfig regenerates the main dnsmasq config from global config and restarts.
// Instance-specific DNS records are managed via service registration (not here).
// Domain-specific DNS records are managed via domain registration and reconciliation.
func (api *API) updateDnsmasqConfig() error {
globalConfigPath := api.statePath()
globalCfg, err := config.LoadState(globalConfigPath)