[LEDE-DEV] [OpenWrt-Devel] Why does multiple instance dnsmasq work with jails but not without?

Shankar Unni shankar.unni+openwrt at gmail.com
Mon May 23 07:19:23 PDT 2016


IIRC, your patch did not specify different -x options to each instance
to ensure that the PID files were written to separate files. That's at
least one issue that occasionally caused races at startup.

On Tue, May 17, 2016 at 11:24 PM, Daniel Dickinson
<openwrt at daniel.thecshore.com> wrote:
> Hi all,
>
> I had a patch that I submitted to the openwrt list sometime back that
> launched multiple instances of dnsmasq, so long as the instances were
> either tied to specific, non-overlapping, interfaces, or used different
> dns port, but at least in the case of different interfaces it only
> worked (to my dismay) if jails were in use.  Without jails only a single
> instance of dnsmasq would start.
>
> Does anyone know why this is?
>
> (The use case is to serve a guest vlan with a dnsmasq instance that
> forced the to use the opendns familyshield filter (since the point of
> guest vlan is you don't necessarily know how far to trust the people on
> the guest vlan (for a separate wifi SSID)).
>
> Regards,
>
> Daniel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the Lede-dev mailing list