Bad option for conditional forwarders



I used Pi-Hole for quite a while and decided to move it to my synology nas running in a docker container.

I use the latest pihole/pihole by diginc and it works perfect.

On my raspberry I allready had a custom conf file for dnsmasq to add conditional forwarder for 2 specifif domains. This worked flawlessly. However when I try the same with the docker image dnsmasq won’t start because the config checker says “bad option at line 1”

Line one of /etc/dnsmasq.d/05.custom.conf actually contains:


What could be wrong with this config?

Thx a lot