[Support] devzwf - pihole DoT/DoH


Recommended Posts

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.

Link to comment

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 ?

Link to comment
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 ?

Link to comment
  • 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.

Link to comment

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. 

¯\_(ツ)_/¯

Link to comment

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

Link to comment
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
Link to comment
  • 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!

Link to comment
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

Link to comment
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
Link to comment

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>
  

 

Link to comment
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 🙂

Link to comment
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

Link to comment
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! 🙂

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.