[Dnsmasq-discuss] addn-hosts marked inactive if it doesn't exist at startup
Alan
lameventanas at gmail.com
Mon Feb 2 03:22:34 GMT 2015
I configured dnsmasq to read an additional hosts file using:
addn-hosts=/var/run/openvpn/hosts.muvpn
This file is created and updated by openvpn when users connect and
disconnect via external script, I believe this is one of the intended
use-cases of addn-hosts.
The file isn't created until someone connects for the first time.
The problem is that if the file doesn't exist when dnsmasq starts, it
will not try to read it anymore even if it is created.
The same happens if using a directory that hasn't been created by the
time dnsmasq started.
It would be nice if this is fixed in dnsmasq instead of implementing a
workaround.
Thanks.
More information about the Dnsmasq-discuss
mailing list