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

  • 3 weeks later...
  • Replies 1.1k
  • Views 331.8k
  • 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

  • Author
On 5/3/2019 at 6:58 AM, MyKroFt said:

does this docker have the tools to setup DOH?

 

Ex:  https://docs.pi-hole.net/guides/dns-over-https/

 

I could add manually, but then changes would be lost anytime the docker container gets updated....

 

Thanks

Myk

 

Looking on the PiHole docker site, they elected not to include it in PiHole as standard. I would suggest an easier way would be to use the Cloudflared docker container and point the dns output from PiHole to go there. Let me know if you need help.

Is there any way to access pi-hole admin page from another location using open-vpn?
(Only can access pi-hole inside the same lan locally)

 

Thankyou
Gus

  • Author
On 5/22/2019 at 11:25 AM, fluisterben said:

Can we have wildcard options for whitelist domains in there, please?
Either by regex, or simply adding domain.org and domain.com in some txt file etc.

(where *.domain.org *.domain.net would then be whitelisted, or removed from gravity.list after the blocklists have been imported, before reloading dnsmasq).

 

This is, in my opinion, severely lacking from pi-hole. whitelist.txt uses only exact name matches.

See also: https://discourse.pi-hole.net/t/wildcard-and-regex-support-for-whitelisting/14538/3


 

 

 

I didnt write pihole - just the template so that unraid users could install it .... Can you ask the authors here:

 

https://github.com/pi-hole/pi-hole/issues

 

 

  • Author
5 hours ago, zzgus said:

Is there any way to access pi-hole admin page from another location using open-vpn?
(Only can access pi-hole inside the same lan locally)

 

Thankyou
Gus

Yes - if you have openvpn installed, you can look at admin panel (I tested it). If you want to block advertisements whilst remote, you will need to look at routing all traffic over vpn and that your dns is pointing to pihole.

6 minutes ago, spants said:

Yes - if you have openvpn installed, you can look at admin panel (I tested it). If you want to block advertisements whilst remote, you will need to look at routing all traffic over vpn and that your dns is pointing to pihole.

I'm unable to access pi-hole admin page.

 

As other user told me:

Quote

I had this issue when setting up pihole remotely yesterday. It was because I was unaware that my proxy in bridged mode cannot access a container on br0. As soon as I got home and connected from another machine it was working.

Is then, any way to be able to connect?

Or did I mess something in the configuration unraid <-> Pi-hole ?

 

Thankyou
Gus

  • Author

apologies - you may be right if you only have one network adaptor..... I have two in my system.

56 minutes ago, spants said:

apologies - you may be right if you only have one network adaptor..... I have two in my system.

My server also has 2 network adaptors but I only use one.

Would it be possible then to assign this second adaptor to pi-hole container? Do this work this way?

 

Thankyou
Gus

  • Author

yes - it works well in this way... My settings are here (pihole on 192.168.1.24)

 

image.png.b641abf51bfdf7e68aeeac87bc6247aa.png

 

image.thumb.png.1fd45cc06d6a0ffab38ded80aa6f7212.png

 

pihole network settings

 

image.thumb.png.ce290b2e3d1ff7c6751a408341f36960.png

 

 

I have started a new dorcker from scratch, same config than always and It doesn't work, I can't reach the web interface

 

Have been considered the latest changes?

https://hub.docker.com/r/pihole/pihole/

Quote

Docker Pi-Hole v4.2.2

ServerIP no longer a required enviroment variable unless you run network 'host' mode! Feel free to remove it unless you need it to customize lighttpd

--cap-add NET_ADMIN no longer required unless using DHCP, leaving in examples for consistency

Docker Pi-Hole v4.1.1+

Starting with the v4.1.1 release your Pi-hole container may encounter issues starting the DNS service unless ran with the following setting:

--dns=127.0.0.1 --dns=1.1.1.1 The second server can be any DNS IP of your choosing, but the first dns must be 127.0.0.1

A WARNING stating "Misconfigured DNS in /etc/resolv.conf" may show in docker logs without this.

4.1 required --cap-add NET_ADMIN until 4.2.1-1

These are the raw docker run cli versions of the commands. We provide no official support for docker GUIs but the community forums may be able to help if you do not see a place for these settings. Remember, always consult your manual too!

 

Edited by L0rdRaiden

what's the console command to reset pihole to default settings?

Unexpected update to the docker yesterday - am I on a dev version?

Pi-hole Version vDev (HEAD, v4.3-0-g1d43c0a) Web Interface Version vDev (HEAD, v4.3-0-g44aff72) FTL Version v4.3.1

I installed this docker for a couple minutes last night and just didn't seem to get it working correctly, but I jumped in fast and didn't do much research, so that's on me.  Having things run as a docker might be easier and more convenient but what I ended up doing was installing a Debian VM and installing pi-hole that way, and it seems to be working pretty good so far.

 

I wonder, though, if somewhere in the 25 pages of this thread has anyone asked about DNS fallback if Unraid/docker/pihole is down?  Is it just a matter of setting a secondary DNS server on your router if it can't communicate with pi-hole?

 

Now on to looking for something else to do with the server...... 

 

6 hours ago, Energen said:

I installed this docker for a couple minutes last night and just didn't seem to get it working correctly, but I jumped in fast and didn't do much research, so that's on me.  Having things run as a docker might be easier and more convenient but what I ended up doing was installing a Debian VM and installing pi-hole that way, and it seems to be working pretty good so far.

 

I wonder, though, if somewhere in the 25 pages of this thread has anyone asked about DNS fallback if Unraid/docker/pihole is down?  Is it just a matter of setting a secondary DNS server on your router if it can't communicate with pi-hole?

 

Now on to looking for something else to do with the server...... 

 

Thats essentially what I have done.  My router uses pihole as the primary DNS, and secondary I have pointing to another one (quad9).  that way even if pihole is down, it should allow DNS to continue working.  Unraid of course is set to a static DNS, not getting it from the router so it works whether or not pihole is running.

12 hours ago, pcss said:

Unexpected update to the docker yesterday - am I on a dev version?

Pi-hole Version vDev (HEAD, v4.3-0-g1d43c0a) Web Interface Version vDev (HEAD, v4.3-0-g44aff72) FTL Version v4.3.1

https://github.com/pi-hole/docker-pi-hole/issues/469

 

We'll see what comes of this.

6 hours ago, FDM80 said:

https://github.com/pi-hole/docker-pi-hole/issues/469

 

We'll see what comes of this.

Other update just now but version numbers haven't changed? Functionality is fine so I'm not 100% sure if I have to go to CLI as the post suggests?

On 6/2/2019 at 7:20 PM, spants said:

Yes, the Linux server guys had a look at it. It just needs a template as the docker is already built (like pihole) 

I am running it, it looks fine

 

imagen.thumb.png.2778a2b82a886a6000abd72390ffbbc6.png

 

imagen.png.bbe17fa578e0f4a5415c755850297c57.png

imagen.png.b2136073f57a8145fc0210264b48303c.png

Edited by L0rdRaiden

How did you get this into unraid docker?  I don't see it in Community Applications.

4 minutes ago, pcgirl said:

How did you get this into unraid docker?  I don't see it in Community Applications.

I took it from docker hub and configure it manually, if you copy my settings it will work

I don't know how to do the template to have it in unraid apps

Edited by L0rdRaiden

How do I get it into unraid docker without using community apps?  Do I have to do it through terminal?

40 minutes ago, pcgirl said:

How do I get it into unraid docker without using community apps?  Do I have to do it through terminal?

Do a search in community apps, then choose the option "Click Here To Get More Results From DockerHub"

Got it!  Thanks!  Seems to be working great!  I am wondering how to ad more filters?

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.