Synology installation instructions

Install

You need to enable SSH and login via terminal into your Synology box:

  1. Enable SSH in Control Panel -> Terminal & SNMP -> Enable SSH service
  2. Connect to the Synology using SSH
  3. Run the following command: sh -c "$(curl -sL https://api.dnsadblock.com/install)"
  4. Follow the instructions
  5. Configure your router DHCP to point DNS to the IP of your Synology

It is also a good idea to set a static IP for your Synology so it persists across restarts and power failures

To upgrade you need to run the same command that you used to install. If there is a new version available, the install script will prompt you to upgrade.

Troubleshooting

To troubleshoot the installation script you can prefix the command with a debugging flag:

DEBUG=1 sh -c "$(curl -sL https://api.dnsadblock.com/install)"