* Install "Container Manager" via Synology "Package Center" * Add your current DNS server to "Control Panel->Network->General". Check "Manually Configure DNS Server" and add your preferfed DNS server * Go to the "File Station" and open the docker folder. Inside the docker folder, create one new folder and name it **pihole**. Follow the instructions in the image below. Note: only lowercase, not uppercase letters. * Now create two new folders inside the pihole folder that you previously created at STEP 4 and name them dnsmasq.d and pihole. Follow the instructions in the image below. Note: only lowercase, not uppercase letters. * Go to "Control Panel->Task Scheduler->Create->Scheduled Task->User-defined script" * Once you click on User-defined script a new window will open. * Tab "General" - In the Task field type in “Install Pi-hole“. Uncheck “Enabled” option. Select root User. * Tab "Schedule" - Select Run on the following date then select “Do not repeat“. * Tab "Task Settings" - Check “Send run details by email“, add your email then copy paste the code below in the Run command area. docker run -d --name Pi-Hole \ --security-opt no-new-privileges=false \ -v /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d:rw \ -v /volume1/docker/pihole/pihole:/etc/pihole:rw \ -e FTLCONF_webserver_api_password="YourPassword" \ -e FTLCONF_webserver_port=8080 \ -e TZ=Europe/Zagreb \ -e FTLCONF_dns_listeningMode=all \ -e DNSMASQ_USER=pihole \ -e PIHOLE_UID=1026 \ -e PIHOLE_GID=100 \ --cap-add SYS_TIME \ --cap-add SYS_NICE \ --restart on-failure:5 \ --net=host \ pihole/pihole * Before clicking "OK" do the following changes * Set your password to "FTLCONF_webserver_api_password" * Set your time zone to "TZ" * Set your UID to "PIHOLE_UID" [[hw:synology:howtofind_gid_uid|(how to find my UID and GID ?)]] * Set your GID to "PIHOLE_GID" [[hw:synology:howtofind_gid_uid|(how to find my UID and GID ?)]] * Press "OK" and "Submit" with your DSM Password * Select your "Install Pi-hole" tast and click on "Run" Tab * Confirm and wait a few seconds / minutes. It will depend on your Internet speed connection. * Now open your browser and type in http://Synology-ip-address:8080/admin/login Type in the Password (FTLCONF_webserver_api_password) that you have previously created. Click Log in. * You are in !