Pihole Deployment With Synology Container Manager (DSM 7.2)
Вставка
- Опубліковано 28 сер 2024
- Pihole deployment with Synology container manager is in certain cases much easier and more customizable than the old fashion way. no more running scripts or needing to use SSH commands.
Pihole is a great tool to filter out annoying ads and with adding additional lists, pihole can also filter out privacy violating sites, malware sites, etc. Pihole deployment with Synology container manager is definitely something i recommend to all Synology owners.
With the new DSM 7.2 container manager package, you can create containers the old fashion way but now, we have the option to use standard docker compose configurations with east. Pihole deployment with Synology container manager with docker compose is the topic of this video.
Pihole deployment with Synology container manager, much like any other containers you might deploy with container manager, can start with docker compose file you find online with ease and just modify the configuration based on your needs. yes, it does require some YAML understanding but its not difficult to understand.
As promised, here is the site i used to add lists into my pihole instance after I deployed with Synology container manager:
firebog.net/
Here is my Pihole docker compose code:
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
network_mode: "host"
environment:
TZ: 'America/Chicago'
WEBPASSWORD: 'pipassword'
WEB_PORT: '8081'
volumes:
- '/volume1/docker/Pihole/pihole:/etc/pihole'
- '/volume1/docker/Pihole/dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
#synology #docker #pihole
Follow us on twitter: / techmeout5
Join our Synology Facebook group: / synousergroup
Join our Ubiquiti UniFi Facebook group: / ubntusergroup
*What's your take on the Synology Container Manager? Lets us know in the comments section.*
Cool video, well explaned, no fuzz, no „funnya comments, just pure and valid information!!!
Excellent video. Worked like a charm. This was my first Docker/Container program install and your video made it supper simple.
Glad it helped
Loved the video! So much easier with Docker Compose!
Agreed! Thanks for watching Frank. Have a great weekend
Outstanding video Avi! Very clear and concise!
Thank you tony. It means a lot coming from you! Have a great weekend
Awful music, but smashing the enter key made things better. Don't tell him tho.
Yep, that's a good one! thanks!
Thank you for watching!
Thanks, setup worked as demonstrated.
Only point was that my 'Interface settings' under DNS was on 'Respond only on interface eth0' by default.
Switched that to 'Allow only local requests', as was visible in your video.
What's next, should I
1. just configure my laptop n/w adapter to the pihole as DNS or
2. change the DNS config on my router?
If both work, which do you recommend?
same question
Note, my installation using the same defaults as here, resulted in a dnsmasq error that had to be corrected in the UI under settings/DNS, and for Interface settings, set "ALLOW only local requests" and NOT "Respond to only on interface eth0".
Where do you configure what IP address to point my devices' DNS to so the blocking will work?
I get exit code 1 when trying to use this.
edit: oh nevermind, I just noticed you had capitals in some of this. I only use all lower case in synology.
Ok...so just make sure to do the proper edits to fit to your spesific environment
This looks super easy. Will try now! Other video's are saying we need to setup macvlan. Any idea why, and what that is all about?
Cheers this was super useful! Live the Highland Cow desktop. Did you ever get to Scotland?
Great video, thanks
Thank you very much for watching. Please consider subscribing
I followed the instructions but I have a problem... at the ends it appears the following: Container pihole Created Container pihole Satarting Error response from Daemon: Bind mount failed: '/volume1/docker/Pihole/dnsmasq.d' does not exists Exit Code: 1
check uppercase / lowercase in your path in both the script and in the fie explorer
I can get to the admin on pi-hole but it isn't answering or responding to DNS if I set the IP on a client to the NAS ip address.
which you skipped in the video
this does NOT work.. I looked at the logs, it shows th
oihole-FIL: no process found
start pihole -FIL: (no-daemon) as pihole
stopping pihole-FIL
I've tried different webport, no diff. it can't run
I can access the web interface manually via IP address though, but after login, I see NaN for the green, red boxes at the top .
can you advice me on what's wrong?
how do i point my router to the synology ?
I have it working or running.. but I'm a newbie and can't figure out the address as well. I know how to change the DNS on the router but what is the address to point too?
How do one update Pi hole to the latest version?
Doesn't work unles you change the routers dns to point to the synology. Which then screws up the mobile apps. There must be a better way!!!!
Hi. I dont have a nice way to say it...so I'll just say it. Your conclusion is wrong.
to be honest...i'm not digging the new container manager, i liked the old docker application, it was much simpler.