Jump to content
spants

[SUPPORT] pihole for unRaid - Spants repo

694 posts in this topic Last Reply

Recommended Posts

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.

Share this post


Link to post

New PiHole docker has been released.... looks nice!

Share this post


Link to post

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

Share this post


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

 

 

Share this post


Link to post
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.

Share this post


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

Share this post


Link to post

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

Share this post


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

Share this post


Link to post

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

 

 

Share this post


Link to post
Posted (edited)

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

Share this post


Link to post

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

Share this post


Link to post

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

 

Share this post


Link to post
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.

Share this post


Link to post
Posted (edited)
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

Share this post


Link to post

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

Share this post


Link to post
Posted (edited)
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

Share this post


Link to post

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

Share this post


Link to post
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"

Share this post


Link to post

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

Share this post


Link to post

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.