updated DNS config to better integrate with domainless setup.
This commit is contained in:
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user