On 8/23/2021 8:37 AM, Dominik wrote:
On Sun, 2021-08-22 at 20:09 +0200, john doe wrote:
"dnsmasq: syntax check OK.
dnsmasq: bad option at line 11 of /etc/dnsmasq.d/dnsmasq.conf
bad option at line 11 of /etc/dnsmasq.d/dnsmasq.conf"


Line 11: 'hostsfile=<PATH-OF-DIR>'

hostsfile does not exist. Are you looking for dhcp-hostsfile ?


Actually the option I was looking for is 'addn-hosts'.

For a directory we have 'dhcp-optsdir', 'dhcp-hostsdir' and 'hostsdir'
but not for a file.

Thanks for the pointer.


P.S.

I'll assume that 'dhcp-hostsfile', 'dhcp-opsfile' and 'addn-hostsfile'
when used with a directory performe like their directories cunterpart
with the exception of 'inotify'.

--
John Doe

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to