pihole -t and see if you see any clients sending DNS requests.
Hi, thanks for the great writeup. Hopefully someone can help me. I just installed this on my synology server. I am able to access the web interface, but when I set pihole as my DNS server, I cannot get out to the internet. I tried using the pihole -t command and loading some webpages but don’t even see any dns queries coming in.
The token for my debug log is 15ituhsmwb
Any help would be greatly appreciated.
Hi, thanks for the guide.
By using quoted command i get an error saying can’t find folder /etc/locale.gen
This post is old, but to have it answered: You need to stop the Synology DNS Server package prior installing pi-hole. Also, when you stop the Synology DNS-Server, make sure that your router knows some other DNS server in the meantime, like 18.104.22.168, so the install script can resolve the download commands. After installing, configure the router’s DNS lookup to the address of your Synology once again.
How to handle HTTPS / SSL DNS lookups with pi-hole on Synology?
So I just came across this post - I have a DS413 and I have been able to get Debian Chroot installed…
I can ssh in
sudo su - works
I can start Chroot
I can connect to it (I do get the setlocale warning and the prompt changes)
but when I try apt-get update it tells me
and I can’t get any farther - and don’t know enough about Debian to figure out why it doesn’t work - maybe my diskstation isn’t compatible? I’m running the latest DSM 6.1.5-15254
So the installation went fine, i runned it without any problems for over a month.
I now updated pi-hole to version 3.3 and dnsmasq fails to restart.
I get this message:
[FAIL] Restarting DNS forwarder and DHCP server: configuration syntax check failed!
I ran pihole -r and pihole -g without succes.
Then i followed this tutorial from the beginning and still get the same message.
Long story short: fallback, it won’t work.
Reverted back and works again
How did you revert back?
I am failing that on my DS-413j because the armhf-package of dnsmasq is incompatible with the armel-architecture of the 413j.
Hi, great tutorial! I (almost :p) managed to get PiHole working on my Synology DS216Play in one run. Had to scroll in the comments to find a fix to get FTL working but it does work now.
I do have one issue, PiHole is working. I can see ads are not showing but the thing is I don’t see any entries in the PiHole log or dashboard. So it says no ads are blocked but i’m sure Pihole is blocking because i’ve tested multiple websites. How do I fix this?
I have the exact same problem. Did you manage to solve the problem? If so, how did you fix it?
I can’t install locales
root@Diskstation:/# apt-get install locales
Reading package lists… Done
Building dependency tree… Done
Package locales is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘locales’ has no installation candidate
the version of dnsmask is not 2.76 you need to update it, but i don’t know how to.
you can revert to a previous version Pi-hole v3.3 Released: It’s “Extra” Special
have you tried installing the FTL-DNS version on synology? i tried to update using:
echo “FTLDNS” | sudo tee /etc/pihole/ftlbranch
pihole checkout core FTLDNS
pihole checkout web FTLDNS
this only updated the pi-hole and web version. not the FTL version itself.
My issue was with my router setup. I followed the instructions here:
I know this thread is for Synology NAS but I am sure a lot of folks with Asustor, QNAP, etc. come here too. That being said, just wanted to inform anyone that I got Pi-Hole working on my Asustor AS7004T-i5. I detailed my steps at:
I reverted back but my logs are still not working, everything is empty including the stats. Anyone able to fix this or at update dnsmasq?
My debug code is gj4qzkp686 if any developers are able to help.
Why bother really? why not just install Pi-hole on the latest RP3 and connect it to your gateway?
Are this method working in DMS 6.2?
PS: My NAS is Synology DS215j