Question pihole setup/config questions

Currently reading
Question pihole setup/config questions

284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
anyone using or set up pihole in docker?
i've downloaded the official docker image, set it up and it "seems" to be working.

however two things.

all devices get reported as 172.17.0.1 in the pihole dashboard, which makes it tricky for admin purposes.
i can't seem to see a way to add local DNS entries/routes.
 

Rusty

Moderator
NAS Support
6,390
1,897
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
anyone using or set up pihole in docker?
i've downloaded the official docker image, set it up and it "seems" to be working.

however two things.

all devices get reported as 172.17.0.1 in the pihole dashboard, which makes it tricky for admin purposes.
i can't seem to see a way to add local DNS entries/routes.
There are topics and resources on Pihole configuration on the forum. Search for it a bit please.

Of the top of my head do you have ServerIP variable set to your local NAS IP? Also are you running this container in a bridge or host network configuration?
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
yes the ServerIP variable is set to 192.168.1.2 (which is the IP of the NAS).
the setup instructions i followed left the network settings as bridge.
 

Rusty

Moderator
NAS Support
6,390
1,897
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
yes the ServerIP variable is set to 192.168.1.2 (which is the IP of the NAS).
the setup instructions i followed left the network settings as bridge.
Move it to host network and try again. If you wanna leave it in bridge this will probably not work. What are your port mappings? Specifically for 53/UDP and 53/TCP. What guide did you use?
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
There are topics and resources on Pihole configuration on the forum. Search for it a bit please.

out of interest, where are these?
i search for pihole in resources and it came back with nothing, and searching for pihole in the forum doesn't bring up much either - unless the search function isn't playing nice for me.
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
Well, that should work, but if its not registering your local nas IP will be a problem. As I said, move it to host network and try again.

well pihole was working (ie it was blocking ads etc), however it's just that every client was being reported as 172.17.0.1 so the dashboard reported every client as being just the one.
 

Rusty

Moderator
NAS Support
6,390
1,897
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
You are
out of interest, where are these?
i search for pihole in resources and it came back with nothing, and searching for pihole in the forum doesn't bring up much either - unless the search function isn't playing nice for me.
You are correct my mistake. There are no resources for it, but there are a few topics open that are worth looking into.
 

Rusty

Moderator
NAS Support
6,390
1,897
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
well pihole was working (ie it was blocking ads etc), however it's just that every client was being reported as 172.17.0.1 so the dashboard reported every client as being just the one.
Have you tried running it as a host network conteiner? Any change there? You might look into an alternative solution such as ADGuard. Maybe it will be a better fit for you.
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
i did briefly set it up using host, but it then disabled any port settings etc, and when it was complete i had no idea how to actually connect to it, or what the IP address was supposed to be.

i've used pihole a lot previously hosted on a pi, so i'm quite familiar with it. it's just getting it set up correctly via docker that i'm struggling with.

i tried adguard before, and didn't like it that much.

of course, if i do get pihole setup, i still need to be able to set up static DNS routes for local resources.
 

Rusty

Moderator
NAS Support
6,390
1,897
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
i did briefly set it up using host, but it then disabled any port settings etc, and when it was complete i had no idea how to actually connect to it, or what the IP address was supposed to be
Well, this is expected considering that all host containers are running on their designated ports. The IP address in this case would be the same as when in bridge, your NAS IP.

i tried adguard before, and didn't like it that much.
fair enough
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
Well, this is expected considering that all host containers are running on their designated ports. The IP address in this case would be the same as when in bridge, your NAS IP.

ok, but then how do i access the webui when in host mode?
 

Attachments

  • Capture.JPG
    Capture.JPG
    46.7 KB · Views: 35
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
ah the crucial part no-one mentioned in the tutorials i saw.. the variable called WEB_PORT
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
i got it set up using host rather than bridge.
so the webui is accessible via 192.168.1.2:8084/admin

however, i can't use 192.168.1.2:8084 as a dns server because windows (for example) only lets you enter an IP address with no port number.

so i guess that method won't work.
 
284
30
NAS
DS1019+ DSM6
Operating system
  1. Windows
Mobile operating system
  1. iOS
Here is a good video that explains how to install pihole on synology. The HA part you don't have to do.

watched that, but was a bit confused about the 192.168.2.x range being created.
at one point i thought it was going to end up with the pihole on a 192.168.1.x IP that was accessible, but that doesn't seem to be the case?
 
141
36
NAS
DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. iOS
i got it set up using host rather than bridge.
so the webui is accessible via 192.168.1.2:8084/admin
however, i can't use 192.168.1.2:8084 as a dns server because windows (for example) only lets you enter an IP address with no port number.
so i guess that method won't work.
You don't have to mention the port in windows. Just ip is enough.

watched that, but was a bit confused about the 192.168.2.x range being created.
at one point i thought it was going to end up with the pihole on a 192.168.1.x IP that was accessible, but that doesn't seem to be the case?
This is what you have to do if you use the --macvlan methode.
 
242
63
check out this gide over at pihole
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I'm using adguard/adguardhome and crazymax/unbound. Point Adguard at the unbound box as the upbound server...
Replies
1
Views
830
Not sure what's happening but I went drastic. I shut down the PC and did a hard reset of the modem, "enter...
Replies
9
Views
648
This indeed is a breaking change. The whole function fix_capabilities() is responsible for the behavior...
Replies
10
Views
1,322
Finally got it dl'd and installed. Had to reconfigure the router.
Replies
4
Views
1,220
I've been running pihole in Docker on my DS920. The only issue I've had is with doing updates. I dl the...
Replies
0
Views
1,049
sorry, was away for a few days. yes, I was talking about the logs that you find in synology. but...
Replies
4
Views
2,197
  • Question
Pihole UI will not work on 80, as 80 is in use by Synology's nginx (as it is 443), just bind it to some...
Replies
8
Views
5,265

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Top