Add domain wildcards to pihole #119
Unanswered
danielo515
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thanks for the SSL on everything tutorial, it's great.
However, I find a bit annoying to have to add a DNS entry for every service, specially because everything will just be pointing to the same proxy server. Here is an explanation of how you can make pihole redirect all your subdomain requests to the same server without having to enter a local DNS row for each value:
on your pihole server run
sudo vim /etc/dnsmasq.d/42-reverse-proxied-subdomains.conf
Then adjust this content and paste it inside:
Save and exit, then run
And thats it! Everything pointing to local.example.com will be resolve to your proxy server.
Regards
Beta Was this translation helpful? Give feedback.
All reactions