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

  • Author
  • stop the pihole-dot-doh  container
  • copy the content of 
    /mnt/nvme_cache/appdata/Pihole-DoT-DoH
  • to 
    /mnt/user/appdata/pihole-dot-doh/config/
  • Update your path in unraid pihole for DoT DoH config with the same
  • start the pihole-dot-doh container
  • if all ok delete /mnt/nvme_cache/appdata/Pihole-DoT-DoH
  • 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

Thanks for this 🙂

Have you had a chance to look at anything unbound related?

  • Author

should be ready this week, life keep me busy

  • 2 weeks later...
On 3/13/2023 at 4:59 AM, ZappyZap said:

should be ready this week, life keep me busy

 

No worries, I know how life can be!

  • 2 months later...

All apps on my Android phone are not receiving connections after installing the PiHole.

 

The strange thing is that the PiHole log isn't showing any blocked connections at all. Apps like Supercell's Boom Beach aren't connecting to servers, and neither is another package tracking app Aftership.

 

Both apps just report no connection at all. Taking them off my Wifi network which I am using the Pihole on, they work immediately.

 

I think this is something to do with DoT/DoH.


Does anyone have any ideas?

 

I haven't changed any PiHole settings at all. Just installed it, set it as my default DNS etc. on my router. Nothing more.

 

 

Screenshot_4.png

Edited by plantsandbinary

  • Author

this happen only from android ?
can you do a test from and other system ?
like

dig +noall +ans google.com @<IP_of_your_pihole>

 

I figured it out.

 

I had DHCP on my phone. It was set to use 192.168.1.1 as DNS 1 which is my router (blank for DNS 2).

I changed from DHCP to static and 192.168.1.51 for DNS 1 which is my PiHole.

 

I also enabled DNSSEC on my PiHole because it was enabled on my router.

 

PiHole > Tools > Network was showing that not a single query had been made from my phone to the PiHole. As soon as I changed these settings it worked fine. Now it shows green for my phone in the PiHole that it is using the PiHole.

Edited by plantsandbinary

  • Author

Excellent
thanks for the update

So I have to say, this container is set up in an extremely ....... bad way...

 

When I installed this, I noticed later I have 2 folders in my /appdata...

 

Pihole-Dot-Doh

and

pihole-dot-doh

 

I removed the latter, second one. As I expected it was a left-over folder from another docker container that didn't work/was from an older docker image or repository. It's name didn't match case-sensitive the name of this docker container either.

 

Welp. I just lost all of my settings.

 

Now obviously I should have double checked, but ugh... due to the default spelling this container is making TWO directories with the SAME names in my /appdata directory... those above 2 I just listed. Now I bet 99% of people will not notice when creating or editing the container and checking the mapped directories...

 

image.thumb.png.2d16083fb8ef2cdbd14356883f21bbfb.png

 

Gonna be great fun to completely remake my entire config... and add all those whitelisted domains again.. FFS!

 

I highly recommend you change this. I have 41 containers on my system and none of them have ever made 2 directories in /appdata ever.

Edited by plantsandbinary

  • Author

I do like when people claim things without checking but that's ok ....

what i can say it is not the template who make this :
 

 <Config Name="pihole config" Target="/etc/pihole/" Default="/mnt/user/appdata/pihole-dot-doh/pihole/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/pihole/</Config>
  <Config Name="dnsmasq config" Target="/etc/dnsmasq.d/" Default="/mnt/user/appdata/pihole-dot-doh/dnsmasq.d/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/dnsmasq.d/</Config>
  <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>

 

 

ph.PNG

  • Author

BTW i am sorry that you delete a dir in use with your setup, but it is not this template to blame.
 

It seems there might be some interaction with CA, or maybe it's if you had the old flippinturt one before?

 

https://raw.githubusercontent.com/devzwf/unraid-docker-templates/master/pihole-dot-doh.xml

 

image.thumb.png.3f07451291c2d566ef1c6d5155a68777.png

 

The template indeed doesn't have an issue, but if I select Install (it'll think it's a new install since the existing one still comes from the old template) then it does put caps.

 

image.png.65330ec2c29418f9e38c7b1a1b31f8c3.png

 

Might be that CA interprets a "/config" path as being supposed to default to the container name and overwrites what's in the template? Might want to ask @Squid.

Edited by Kilrah

  • Author

Oh and i found the culprit : it is the template from "Mavrag's Repository"
Same app name , but really not same template
Mine is maintain and widely use
thanks

  • Author
1 minute ago, Kilrah said:

It seems there might be some interaction with CA, ir maybe if you had the old flippinturt one before?

 

https://raw.githubusercontent.com/devzwf/unraid-docker-templates/master/pihole-dot-doh.xml

 

The template indeed doesn't have an issue, but if I select Install (it'll think it's a new install since the existing one still comes from the old template) then it does put caps.

 

image.png.65330ec2c29418f9e38c7b1a1b31f8c3.png

 

Might be that CA interprets a "/config" path as being supposed to default to the container name? Might want to ask @Squid.

are you sure you are using my template ?

Yup. There are 3 "Pihole-DoT-DoH" templates with the default container name being that, all 3 have correct paths in the template but for me all of them have it replaced by the container name on install.

 

Seems to be a CA issue.

Edited by Kilrah

  • Author

the one from  "Mavrag's Repository" do not :
which Repository:  do you see on yours ?

 

mav.PNG

Edited by ZappyZap

  • Author

oh yeah i understand now what you was saying...
odd

probably relinquency of old obsolete now flippinturt 

@Squid can you check 

Edited by ZappyZap

Seems unrelated to flippinturt, just tried installing it on my test setup that never had any installed and it's the same, so most likely CA

  • Author

did the same and saw the same behavior
thanks @Kilrah

Edited by ZappyZap

  • 4 weeks later...

Has anyone else experienced the scenario where for some reason the database becomes 'read-only' after a few days of running non-stop and all gravity updates or individual additions to the whitelist fail?

Nope, been running fine... I usually reboot the server after 2 weeks of uptime or so though.

  • Author

been running fine for me as well
 

# uptime
 15:25:41 up 79 days, 21:04,  0 users,  load average: 0.21, 0.26, 0.27

but this will change as i just just update the image with cloudflared 2023.6.1

Any tips?

suddenly getting this while using DoT only in pihole.

Both ips (1.1.1.1/ 1.0.0.1) getting this.

 

2023-06-28T15:00:45Z ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
2023-06-28T15:00:46Z ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
2023-06-28T15:00:46Z ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
2023-06-28T15:00:46Z ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
2023-06-28T15:00:46Z ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
2023-06-28T15:00:46Z ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"

 

There is absolutely something wrong with this docker image. This happens roughly after 24 hours. I've rebuilt the container a few times and always the database becomes read-only. I can't add anything to the whitelist or blacklist afterward. Rebooting it solves the problem but this still always happens eventually.

Screenshot_2.png

 

I've since shut this down and started using AdGuard DNS directly on my router with DNS-over-TLS. The performance is much better and I am not fighting with this container every 5 seconds. It's also overall far more reliable.

Edited by plantsandbinary

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.