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.
Message added by spants,

This template is depreciated as it is >4 years old. There are newer versions available

[SUPPORT] pihole for unRaid - Spants repo

Featured Replies

i have an issue which after some time the docker stop working (not resolving DNS request) but it work fine after the docker restart, which is annoying, how do i fix this?

  • Replies 1.1k
  • Views 331.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I just wanted to share a trick I used to have hostnames show up in the Pihole Dashboard for my local devices instead of IP addresses. Like this:     First make a copy of the /etc/

  • Hi, I wanted to use this pihole docker as my second dns server, i already have a hardware raspberry pi as my main pihole dns, but having a backup is always good. I was wondering how i could

  • There is a section on the readme that will help.   0) If you dont have python3 on your unRaid, install it via the nerdtools plugin.   1) find the path for /etc/pihole/  - for me it

Posted Images

Same issue for me....
 

Then it is the Dockers problem?

I cant help you. Just tell you i had same problem about docker randomly stopping working. I did some reinstalls and set "listen on eth0", after that no probnlems anymore.

Does anyone have DNScrypt working with this as well?

Every time I try to put an IPv6 address on this docker, I can't access the admin page.

 

Yes, I have IP6 on Unraid

Can some one help

 

Having a issue when running Pi-Hole docker. I set up the docker with its own IP and it works for other devices on the network. But Unraid cant see the docker cant even ping it???.  

6 hours ago, Gary489 said:

But Unraid cant see the docker cant even ping it???.  

Don't use Pi-hole as DNS server for Unraid itself. This would create a catch-22 situation when docker container updates are done.

Instead set fixed DNS servers, e.g. 8.8.8.8 and 8.8.4.4

Don't use Pi-hole as DNS server for Unraid itself. This would create a catch-22 situation when docker container updates are done.
Instead set fixed DNS servers, e.g. 8.8.8.8 and 8.8.4.4

cloudflare dns (1.1.1.1,1.0.0.1) is faster and more secure than google dns(this is personal opinion only)
On 9/30/2018 at 12:29 PM, TheBlueKingLP said:

i have an issue which after some time the docker stop working (not resolving DNS request) but it work fine after the docker restart, which is annoying, how do i fix this?

I am also having this same issue. Not sure when it started as I rarely restart unraid or the pihole container (pihole/pihole:latest btw).

But for me, if I do restart unraid, the pihole docker stops with the "DNS resolution is currently unavailable" in the docker logs.
This is with the "Autostart" set to On in the GUI, for the pihole container.

 

Starting the failed pihole container does work though, and it stays working until I reboot.

On 10/22/2018 at 3:26 AM, semtex41 said:

I am also having this same issue. Not sure when it started as I rarely restart unraid or the pihole container (pihole/pihole:latest btw).

But for me, if I do restart unraid, the pihole docker stops with the "DNS resolution is currently unavailable" in the docker logs.
This is with the "Autostart" set to On in the GUI, for the pihole container.

 

Starting the failed pihole container does work though, and it stays working until I reboot.

I have it too. I don't remember when it started happen but after restart my pihole does not start by itself.

So I like to VPN into my network using OpenVPN-as but I cannot seem to find a way to get pihole adblocking to work this way. Anyone able to enable pihole blocking when VPN'd in?

 

I gave my pihole docker it's own IP using the custom IP setting of 192.168.1.2. It works inside my wifi network, just not when connected through the VPN.

 

I've gone into the VPNs webserver settings and manually set the DNS from 192.168.1.1 to 192.168.1.2 and once I've done that I can no longer resolve DNS...

 

I would hate to go back to using my RPi for pihole when using it on unraid is much easier to maintain....

There are multiple problems with this docker container.

 

1. The container just stops at completely random intervals. There's absolutely nothing written in the log at all about why this happens.

2. There doesn't seem to be any proper updates being made. That is, there are still updates for all of the pi-hole components after updating the container itself. So the container is not pulling the updated FTL, web interface and pihole version from source.

 

This container needs a lot of work. I wish I could help but I don't know the first thing about building or maintaining one. Perhaps OP could put this on Github and allow others to make pull requests and push changes.

Edited by plantsandbinary

  • Author
6 minutes ago, plantsandbinary said:

There are multiple problems with this docker container.

 

1. The container just stops at completely random intervals. There's absolutely nothing written in the log at all about why this happens.

2. There doesn't seem to be any proper updates being made. That is, there are still updates for all of the pi-hole components after updating the container itself. So the container is not pulling the updated FTL, web interface and pihole version from source.

 

This container needs a lot of work. I wish I could help but I don't know the first thing about building or maintaining one. Perhaps OP could put this on Github and allow others to make pull requests and push changes.

 

I wrote the template that pulls in the Official Docker Container from PiHole. I swapped over from my unofficial one a long time ago that that a fully supported version could be distributed. Make sure that your repository for pihole is = pihole/pihole:latest and not the old diginc repository.

If you use the latest tag, you should have v 4.0.0-1. The release tags are here: https://hub.docker.com/r/pihole/pihole/tags/ 

 

The last update to the docker image was 12 days ago. Apparently you should not do an update within the docker image (that was what diginc said - although that may have changed)

 

If you have a problem with the docker image, you should ask about it here: - https://discourse.pi-hole.net/ or on the github here:- https://github.com/pi-hole/pi-hole/issues

 

 

  • Author
On 10/23/2018 at 5:09 PM, MowMdown said:

So I like to VPN into my network using OpenVPN-as but I cannot seem to find a way to get pihole adblocking to work this way. Anyone able to enable pihole blocking when VPN'd in?

 

I gave my pihole docker it's own IP using the custom IP setting of 192.168.1.2. It works inside my wifi network, just not when connected through the VPN.

 

I've gone into the VPNs webserver settings and manually set the DNS from 192.168.1.1 to 192.168.1.2 and once I've done that I can no longer resolve DNS...

 

I would hate to go back to using my RPi for pihole when using it on unraid is much easier to maintain....

I believe that there is a way of forcing the traffic and dns through openvpn - but its not something I am experienced with. May be best to ask in the OpenVPN topic.

Hi mate, thanks for the reply. How can I check and/or change my repo? If I remove the whole container and download it again is it going to have the right repo?

 

Thanks a lot.

  • Author
1 minute ago, plantsandbinary said:

Hi mate, thanks for the reply. How can I check and/or change my repo? If I remove the whole container and download it again is it going to have the right repo?

 

Thanks a lot.

 

Click on icon and choose edit - you will see the repository 

Thanks a lot bud! It was the old repo. I just changed it.

  • Author
10 minutes ago, plantsandbinary said:

Thanks a lot bud! It was the old repo. I just changed it.

np, I'm not sure why it doesn't replicate to everyone. 

On 10/28/2018 at 5:55 PM, spants said:

np, I'm not sure why it doesn't replicate to everyone. 

It could be that the local user template is overriding the repo template.  Deleting the container, then deleting the user template in ~/.docker/templates-user, followed by recreating the container should work.

 

At first I was thinking that not updating template changes automatically is a bad thing, but it would be annoying if someone made custom changes and had them wiped automatically.  The difficulty comes in notifying people of necessary changes if they have everything automated.

On 10/28/2018 at 5:55 PM, spants said:

np, I'm not sure why it doesn't replicate to everyone. 

In order for template changes to get pushed out to everyone during an update, the TemplateURL entry has to be populated in the xml

 

That being said though, not all elements in the template will get updated (by design)  The only ones that do is Support, Overview, Category, Project, Icon, and Config

 

Updating automatically the repository entry is in effect running a different app and probably not something that should be allowed across the board.

  • Author
1 hour ago, Squid said:

In order for template changes to get pushed out to everyone during an update, the TemplateURL entry has to be populated in the xml

 

That being said though, not all elements in the template will get updated (by design)  The only ones that do is Support, Overview, Category, Project, Icon, and Config

 

Updating automatically the repository entry is in effect running a different app and probably not something that should be allowed across the board.

I understand and agree - I guess that in future I should just do a v2 template

Is there any way of removing the password requirement?  I've left the password field blank during setup, and it still defaults to 'admin',  and I've ssh'd into it to remove it, but that doesn't hold either.

  • Author
2 hours ago, toastman said:

Is there any way of removing the password requirement?  I've left the password field blank during setup, and it still defaults to 'admin',  and I've ssh'd into it to remove it, but that doesn't hold either.

yes, use the unraid scripts plugin to automate that once a day. It is what I used to set the password before it was exposed to the template

  • 2 weeks later...
  • 3 weeks later...

How do I update this docker? I installed using the YouTube video originally referred to. 4.1 is out and it's notifying me of updates. In the docker settings the repo is set to pihole/pihole:latest and I've changed the Docker URL from the diginc to https://hub.docker.com/r/pihole/pihole/

Thanks!

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.