#!/bin/bash # Post-install/update specifics for AdGuard Home — dispatched by appUpdateSpecifics # (containers//scripts/_update_specifics.sh defining appUpdateSpecifics_). appUpdateSpecifics_adguard() { local app_name="$1" if [[ $CFG_REQUIREMENT_DNS_UPDATER == "true" ]]; then updateDNS "$app_name" install fi # Split-horizon local DNS: app subdomains resolve to the box on the LAN. declare -F setupLocalDnsRewrites >/dev/null 2>&1 && setupLocalDnsRewrites }