updated DNS config to better integrate with domainless setup.

This commit is contained in:
2026-03-09 05:55:32 +01:00
parent 3e635b285e
commit c505c0c6c7

View File

@@ -489,9 +489,13 @@ Add any other subdomains you want to use.
EOF
cat >/opt/stacks/pihole/dns/02-wildcard.conf <<EOF
address=/?domain?/?localip?
address=/$domain/$localip
address=/.$domain/$localip
EOF
chmod -R 775 /opt
docker exec pihole pihole-FTL --config misc.etc_dnsmasq_d true
echo ""
echo ""
echo ""