[OpenWrt-Devel] incorrect commit for dnsmasq (dnsmasq: use "hostsdir" instead of "addn-hosts")
Hans Dedecker
dedeckeh at gmail.com
Thu May 24 03:16:58 EDT 2018
On Wed, May 23, 2018 at 11:43 PM e9hack <e9hack at gmail.com> 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
openwrt-devel at lists.openwrt.org
http://lists.infradead.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list