Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] devzwf - pihole DoT/DoH

Featured Replies

5 minutes ago, ZappyZap said:

i would like you redeploy the container , from scratch , and see if it work.

stop the container
rename /user/appdata/pihole to  /user/appdata/pihole.bkp

and redeploy the container form scratch

let see if that work.....

 

i have the eeling this have nothing to do with the container but something else

let me know

Yeah, it's working now.  Not sure what happened before that made it stop working, as it was fine until I updated it via the GUI.  What file holds all the previous adlists/whitelists/blacklists that I was using before?  I re-enabled the DHCP server and it's still working fine now.

  • Replies 233
  • Views 32.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @Vinski-  please try tag : 2025.03.1-2.v6dev  and let me know 

  • I am preping this should be available tomorow.

  • ZappyZap
    ZappyZap

    i do not use stubby anymore , of course i can re-add to let the option open for those who would like to use it   I will look at it

Posted Images

  • Author

the files in /etc/pihole

Thanks for this - working well.  I have just one question - you state this uses CF servers 1.1.1.1 / 1.0.0.1 under the covers.  I have been using their safe/filtered dns 1.1.1.3 and 1.0.0.3 so stuff like pornhub etc is blocked.  Is there a way to change the backend CF DNS servers to those ?

  • Author

just edit

  • config/cloudflared.yml
  • config/stubby.yml

 

2 hours ago, ZappyZap said:

just edit

  • config/cloudflared.yml
  • config/stubby.yml

 

Thanks for that - can I confirm that will survive a container update ?

I just saw there are two folders in appdata with different case - different conf files in each - not sure it this is by design ?

 

image.png.36770c4a648c9467a991d9af288d337c.png

8 minutes ago, vw-kombi said:

I just saw there are two folders in appdata with different case - different conf files in each - not sure it this is by design ?

 

image.png.36770c4a648c9467a991d9af288d337c.png

 

Looks like caused by my config :

image.png.78c85721973baaf1d6114c25febe876b.png

Can I move these config files to the main pihole-dot-doh folder and edit this container setting accordingly ?

I gave it a test - all seems to still be working after merging these folders and setting the dot doh stuff to /appdate/pihole-dot-doh/cloudflared/ (and renamed the other for now).

  • Author

Great,

everything in those folder will survive container update since they are persistant data.

  • 2 weeks later...

@ZappyZap Hey there, first of all thanks very much for providing this. It's pretty awesome! I am having an odd issue I hope you can help with.

 

Everything seems to be working just fine while I am on the local network but I can't seem to access the admin page via my VPN. Now, the wrinkle here is I'm using Tailscale in another docker to connect me to the whole network when I'm not on site. This seems to be configured correctly as I can access other devices on the network; e.g. the admin page for our two copiers. But when I try to get to the admin page for the pi-hole the request seems to just timeout. "Cannot connect to the server." I know it's working, I can get to it using Remote Desktop on a computer inside the network. So why can't I get to it from "outside" through Tailscale?  Does the admin page/lighthttpd have some restriction where it won't respond to a machine that isn't on the same network? If so is there a way to change that?

 

If I forward port 80 I am able to access the admin page via the public IP address, but I'd rather not have that exposed to the internet.

Why is it that when I have a problem I can spend hours looking for a solution before caving in and posting for help; then I find the solution right away if I continue my search?

 

This thread helped me: https://forums.unraid.net/topic/77390-solved-cannot-access-dockers-using-custombr0/

 

The key was to enable docker host access to custom networks.

 

So simple yet so many hours spent searching...such is life and learning. 

¯\_(ツ)_/¯

  • Author

Hi @FCA Administrator 
Glad you are back in operation.... and even before i could help.
Great for the update so evebody can found the solution as well if they encounter this issue.

Yes, I try to contribute as much as I can where I can. Unraid in general has such a great community and there is so much information it makes things very helpful. As they say, it takes a village!

  • Author

Hallo,

Google hat mir gesagt, dass es deutsch ist, also vertraue ich ihm ... Könnten Sie bitte die FTL-Fehlermeldungen einfügen, die Sie erhalten? außerdem habe ich nicht wirklich verstanden, was du mit cloudflared.yml willst, sicherlich ein Übersetzungsproblem auf meiner Seite .... Entschuldigung, wenn es schlecht geschrieben ist, ich habe mit Google übersetzt

On 2/9/2023 at 1:45 PM, ZappyZap said:

Hallo,

Google hat mir gesagt, dass es deutsch ist, also vertraue ich ihm ... Könnten Sie bitte die FTL-Fehlermeldungen einfügen, die Sie erhalten? außerdem habe ich nicht wirklich verstanden, was du mit cloudflared.yml willst, sicherlich ein Übersetzungsproblem auf meiner Seite .... Entschuldigung, wenn es schlecht geschrieben ist, ich habe mit Google übersetzt

Sorry for my post.
My case is closed - it was the wrong thread.

Edited by Fabian Hammer

  • Author
4 hours ago, Fabian Hammer said:

Sorry for my post.
My case is closed - it was the wrong thread.

No worries

  • 2 weeks later...

Hey,

First of all thanks for continuing the great work in this container.

I've installed it and I'm able to access it.

I have a few questions, some aren't quite related but I hope you could help me 🙂

  • Is it normal that the docker container creates two different folders in my appdata? In this case they are "pihole-dot-doh" and "Pihole-DoT-DoH". If so, could I just understand why? 
  • Also, how would I be able to add unbound to this setup to direct pihole to a self-hosted recursive DNS?

Thanks for your time!

  • Author
13 minutes ago, sergio.calheno said:

Hey,

First of all thanks for continuing the great work in this container.

I've installed it and I'm able to access it.

I have a few questions, some aren't quite related but I hope you could help me 🙂

  • Is it normal that the docker container creates two different folders in my appdata? In this case they are "pihole-dot-doh" and "Pihole-DoT-DoH". If so, could I just understand why? 
  • Also, how would I be able to add unbound to this setup to direct pihole to a self-hosted recursive DNS?

Thanks for your time!

Must be from a previous install somehow ,  this template use "pihole-dot-doh" 
and for unbound you will need to use an other template 
i will see if i can build a container or found one and create a template

21 hours ago, ZappyZap said:

Must be from a previous install somehow ,  this template use "pihole-dot-doh" 
and for unbound you will need to use an other template 
i will see if i can build a container or found one and create a template

 

This is how the template looks (I didn't change anything):

HI88tEt.png

 

So from what I see one of them is lower case and the other uppercase, maybe best to change the template? Or am I doing something wrong?

Regarding an unbound template or build, that would be great so we could have the full setup consolidated here.

 

Thanks for all your help!

Edited by sergio.calheno

  • Author

really weird,

just cheked on github :
 

<Config Name="DoT DoH config" Target="/config/" Default="/mnt/user/appdata/pihole-dot-doh/config/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/config/</Config>
  

 

14 hours ago, ZappyZap said:

really weird,

just cheked on github :
 

<Config Name="DoT DoH config" Target="/config/" Default="/mnt/user/appdata/pihole-dot-doh/config/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/config/</Config>
  

 

 

It is odd indeed, if you check on unRAID it still seems to give me the two folders...

Did you manage to find something for unbound? if I may suggest something, maybe having both in the same container wouldn't be a bad idea, to have all the options for DNS.

 

Thanks 🙂

  • Author
4 minutes ago, sergio.calheno said:

 

It is odd indeed, if you check on unRAID it still seems to give me the two folders...

Did you manage to find something for unbound? if I may suggest something, maybe having both in the same container wouldn't be a bad idea, to have all the options for DNS.

 

Thanks 🙂

I think you are using the wrong template......
there is 3 of them ......

 

I found a container who seems to be using unraid and well maintain , i might go this direction , and work on that this week-end

1 hour ago, ZappyZap said:

I think you are using the wrong template......
there is 3 of them ......

 

I found a container who seems to be using unraid and well maintain , i might go this direction , and work on that this week-end

 

ggvIfNF.png

 

As you can see at the top it's the repo linked in the original post and the last line has the different capitalised config location...
Weird!
I'll just wait for your unbound version too! Like this I can get the perfect pack! 🙂

  • Author

Most of the user switch the conainer from the old template.
 

3 hours ago, ZappyZap said:

Most of the user switch the conainer from the old template.
 

 

You mean for unbound or pihole?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.