Synology NAS' are not a "supported" platform, but the users in that thread you linked to have managed to get it working. If the pihole
command is completely missing, your installation is borked. If possible, I would try starting over from scratch.