First of all, thanks to alexey123 for the great work (on the brig and dnsmasq, especially).
And also thanks to all the others here in the forum - great work and discussions that helped me a lot to get up my N4F with a few extensions and jails.
I also tried to install the dnsmasq-extension as described here - but I got the same error as described by f8boe: After installing the dnsmasq-extension and refreshing the GUI, it seems to work. As soon as I reboot, the extension is gone.
So, I had a look at the source code itself. It seems that there are some typos in there. And these typos prevent the guy-xml-file from being correctly updated.
After correcting them, the dnsmasq-extension is fully working for me, even after reboot it is still there and works as it should.
I downloaded the master.zip from git (see dnsmasq_install.ch for URI), extracted it and changed 3 files:
original line 18: if (is_file("/tmp/thebrigversion") ) unlink ("/tmp/thebrigversion");
-> change "thebrigversion" to "dnsmasqversion"
original line 82: header("Location: extensions_thebrig.php");
-> change "extensions_thebrig.php" to "extensions_dnsmasq.php"
original line 20: <!--<li class="tabinact"><a href="extensions_thebrig_log.php"><span><?=gettext("Log");?></span></a></li> -->
-> change "extensions_thebrig_log.php" to "extensions_dnsmasq_log.php"
4. After running dnsmasq_install.sh again it should work (ok, some tweaking of the script desired since you do not need to download the master.zip again - you already have it, unpacked it and updated it as described before
So, just comment out those lines
One last hint: The script is saying to go to the N4F webGUI and hit "Save". Well, the button is actually labeled "Action", not "Save"
Hope this will work for others, too.