Pi-Hole on Synology in Docker

This is just a short note on installing this. It is a very quick process, but it took me way longer than it should have because I misunderstood a couple of things.


Why? Pi-Hole os a very lightweight DNS server that you can place on your network. It will ignore calls to most advertising sites, effectively getting rid of advertisements. It’s great because it does not require anything installed on individual devices, works for your entire network and is simple to set up.

Here’s a link to the Pi-Hole site

I have plenty of spare Raspberry Pi devices but I wanted to do this without adding another device to the network. I have plenty of computing power already, so I made the decision to add the service as a Docker appliance on my Synology DS1817+

Here’s a youtube video about this-



Unfortunately it doesn’t show the installation, but it does show critical elements of port forwarding. The installation is pretty easy though….

One of the mistakes I made was wanting to give a static IP address to the Pi-Hole appliance, but I found out that Docker is specifically designed to stop stuff like this. You can do it, but Docker wants you to be able to install a whole bunch of appliances and only expose the required ports to each- not whole IP addresses. This makes sense but it did drive me crazy for a while.

Results? Amazing- my internet seems faster because it isn’t downloading ads. For instance loading smh.com.au went down from 3.2 seconds to 1.7 seconds- that’s 50% off at no extra cost! So, where’s the steak knives?

a lot of emails that you receive have links that go to a marketing website first then to the URL you want. I had some encoded with Aweber yesterday and I couldn’t get to the article I wanted to read. This is easily fixed by using a de-obfuscator, but adds an extra step in some cases. Here’s an example-

I can’t open this link because it goes to Aweber, who are a marketing company
But if I go to a website like Wheregoes.com it can show me the final destination, which is