[OpenWrt-Devel] incorrect commit for dnsmasq (dnsmasq: use "hostsdir" instead of "addn-hosts")

e9hack e9hack at gmail.com
Wed May 23 17:43:31 EDT 2018


Hi,

this commit and the way, who the init script handles hostfiles seams to be completely wrong. The init script generates
one independent hostfile per dnsmasq instance and writes it to a common directory. Multiple dnsmasq instances are
possible and must not load hostfiles from other instances. The entry in dnsmasq.init must be:

xappend "--addn-hosts=$HOSTFILE"

Than every dnsmasq instance loads the associated hostfile only.

Regards,
Hartmut

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
http://lists.infradead.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list