[OpenWrt-Devel] incorrect commit for dnsmasq (dnsmasq: use "hostsdir" instead of "addn-hosts")
daniel at makrotopia.org
Wed May 23 21:00:36 EDT 2018
On Wed, May 23, 2018 at 11:43:31PM +0200, e9hack wrote:
> 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.
I'm sure we can have both, use a hosts directory instead of a file and
have an individual directory for each instance. Wouldn't that resolve
your concerns and give us the best of both worlds?
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel