On Wed, May 23, 2018 at 11:43 PM e9hack <[email protected]> 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"
Making such a change will break the host entries learned via odhcpd as the
entires are put into the odhcpd file residing in the /tmp/hosts dir

Hans

> Than every dnsmasq instance loads the associated hostfile only.

> Regards,
> Hartmut

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/openwrt-devel

Reply via email to