The issue I am facing: DNS fails to start after added .hosts files in /etc/dnsmasq.d
Details about my system: ODROID N2+ ARM
What I have changed since installing Pi-hole:
I am currently trying to add .hosts files to dnsmasq from GitHub - uklans/cache-domains: Domain Names required for LAN Content Cache DNS spoofing so that it will redirect certain dns requests to a local caching server. The script that is provided in the github link creates a number of .hosts files (for example blizzard.hosts) for use with dnsmasq. it also adds a lancache.conf file in /etc/dnsmasq.d/ with multiple entries of addn host to load the files for example: "addn-hosts=/etc/dnsmasq.d/blizzard.hosts"
The problem is that dnsmasq for some reason does not recognize them and complains that they are of the wrong format? Pihole -d shows "bad option at line 1 of /etc/dnsmasq.d/blizzard.hosts" and the dns server fails to start.
This is what the blizzard.hosts file contains:
192.168.100.12 dist(.)blizzard(.)com
192.168.100.12 dist.()blizzard(.)com(.)edgesuite(.)net
192.168.100.12 llnw(.)blizzard(.)com
192.168.100.12 edgecast(.)blizzard(.)com
192.168.100.12 blizzard(.)vo(.)llnwd(.)net
and so on. (URLS changed because new users can only post 5 links)
So my question is, what gives? I know this might be a dnsmasq issue or more likely my stupidity but im hopeful that someone can help me