setupLocalDnsRewrites points every configured domain at the server's LAN IP inside the self-hosted resolver, so app subdomains resolve locally and hit Traefik directly (valid certs, no router hairpin). AdGuard gets a wildcard rewrite per domain via its REST API; Pi-hole gets per-host A records in the supported, mounted custom.list (no wildcard support there). Safe by construction: idempotent, guarded by installed-checks, cannot corrupt the resolver. Hooked into the Apply-DNS actions and resolver install. Also drops the dead HOST_NAME read from the setupDNSIP stub. NOTE: needs a live smoke-test — the AdGuard API call and Pi-hole reload can't be exercised without the running containers. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
49 lines
2.0 KiB
Bash
Executable File
49 lines
2.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This file is auto-generated by generate_arrays.sh
|
|
# Do not edit manually - run './scripts/source/files/generate_arrays.sh run' to regenerate
|
|
|
|
network_scripts=(
|
|
"network/display/show_all_network_services_detailed.sh"
|
|
"network/display/show_all_network_services.sh"
|
|
"network/display/show_ip_allocations.sh"
|
|
"network/display/show_network_conflicts.sh"
|
|
"network/display/show_network_health_detailed.sh"
|
|
"network/display/show_network_services_by_app.sh"
|
|
"network/display/show_network_services_by_category.sh"
|
|
"network/display/show_network_service.sh"
|
|
"network/display/show_network_statistics.sh"
|
|
"network/display/show_traefik_services.sh"
|
|
"network/dns/setup_dns_ip.sh"
|
|
"network/dns/setup_dns.sh"
|
|
"network/dns/setup_local_dns.sh"
|
|
"network/firewall/firewall_initial_setup.sh"
|
|
"network/firewall/rules/firewall_clear_rules.sh"
|
|
"network/firewall/rules/firewall_rebuild_from_db.sh"
|
|
"network/firewall/rules/firewall_refresh_all.sh"
|
|
"network/ip/ip_allocation.sh"
|
|
"network/ip/ip_find_available.sh"
|
|
"network/ip/ip_is_available.sh"
|
|
"network/ip/ip_remove_from_db.sh"
|
|
"network/ip/ip_replace_tags.sh"
|
|
"network/monitoring/monitoring.sh"
|
|
"network/ports/allocation/port_allocate.sh"
|
|
"network/ports/allocation/port_store_mapping.sh"
|
|
"network/ports/allocation/port_update_compose_tags.sh"
|
|
"network/ports/core/port_find_next_available.sh"
|
|
"network/ports/core/port_get_public_ports.sh"
|
|
"network/ports/core/port_get_service_ports_only.sh"
|
|
"network/ports/core/port_get_service_ports.sh"
|
|
"network/ports/core/port_remove_from_db.sh"
|
|
"network/ssh/ssh.sh"
|
|
"network/traefik/traefik_login_credentials.sh"
|
|
"network/traefik/traefik_middlewares.sh"
|
|
"network/traefik/traefik_port_middlewares.sh"
|
|
"network/traefik/traefik_port_subdomains.sh"
|
|
"network/traefik/traefik_whitelist.sh"
|
|
"network/variables/basic_scan.sh"
|
|
"network/variables/headscale_variables.sh"
|
|
"network/variables/variables_init_app.sh"
|
|
|
|
)
|