Bad option for conditional forwarders


#1

Hi

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:

server=/mydomain.ch/192.168.1.1
server=/my2domain.ch/192.168.1.1

What could be wrong with this config?

Thx a lot

regards,

Doemer


#2