Hi! On Wed, May 23, 2018 at 11:43:31PM +0200, e9hack wrote: > 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.
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? Cheers Daniel > > Regards, > Hartmut > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > http://lists.infradead.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.infradead.org/mailman/listinfo/openwrt-devel