Bad option for conditional forwarders

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

Better late than never? When you remove your custom file did the container work? Wondering if "bad option at line 1" is from your custom file or another dnsmasq.d file.

This topic was automatically closed after 26 hours. New replies are no longer allowed.