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 8.8.8.8, 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.