Customize app
Where am I wrong?
I'm trying to customise the pihole to integrate the unbound but I can't do it works.
That's my code so far:
6 Replies
What problem are you encountering? unbound is not launching?
They are starting but pihole can't use unbound DNS
Uhm I don't know pihole very well, does PIHOLEDNS require an ipv4? Because you could simple try with
unbound
docker will resolve it to unbound ip. And remove the ipv4_address
definitionIt seems to be something related to the unbound.conf file configuration
Edit:
No need any change on ubound.conf
I achieved get to this configuration
The
ipv4
need match to your docker runtipi network, Pihole will use it to communicate with unbount. No need open any port.
Now I'm trying to create a redirect in pihole.tipi.local
to pihole.tipi.local/admin
Any tips?https://doc.traefik.io/traefik/middlewares/http/redirectregex/
With a user config
Traefik RedirectRegex Documentation - Traefik
In Traefik Proxy's HTTP middleware, RedirectRegex redirecting clients to different locations. Read the technical documentation.
Seems that not work in that way...
In pihole there is a variable called
VIRTUAL_HOST
So I adjusted this on docker-compose and it worked well
My final docker-compose: