bit of a bug I think at this location
I guess I don’t have any script files
Yes. Those are all values that correspond to lines in the default configuration file. You’ll notice that only the last one - with the domain “google” - is enabled; all others are disabled by default.
If you manually edit the configuration file, you will find each entry in this table as a line beginning with # server=
<domain and/or ip address>
*Edit: …or local=<domain and/or ip address>
so next stage is (perhaps) how to alert the user that the module has been updated if you are distributing the module from github
@jimr1 This was an interesting idea, so I implemented something like this. See the latest version. There’s now a config setting to automatically check github for an update whenever you open the “Service Control” page; there is now also a button under that option to manually check for an update.
I was very happy to see this announcement for a dnsmasq module for webmin!
So I tried it immediately. I followed the installation instructions on github.
I am running Ubuntu server 22.04.3 (with latest patches) and Webmin 2.102
When I click on the “Install module”, I get this error message:
“Failed to install module from /tmp/webmin-dnsmasq_0.6.6_all.deb : Not a valid module file : tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors”
@justanotheraccount Well it looks like Webmin may not actually support installing from .deb in the module page. Bummer! Sorry about that.
Alternatives for you would be to either:
dnsmasq.wbm.gz
file (instead of webmin-dnsmasq_0.6.6_all.deb
) and paste that into the From HTTP or FTP URL
boxwebmin-dnsmasq_0.6.6_all.deb
file separately and install it in a terminal using dpkg -i webmin-dnsmasq_0.6.6_all.deb
or in the UI with Qapt Package InstallerI will update the instructions to reflect this.
Thank you for your advice.
When I try 2., the installation runs fine
root@de-s-l-043:/home/administrator# dpkg -i webmin-dnsmasq_0.6.7_all.deb
Selecting previously unselected package webmin-dnsmasq.
(Reading database … 142635 files and directories currently installed.)
Preparing to unpack webmin-dnsmasq_0.6.7_all.deb …
Unpacking webmin-dnsmasq (0.6.7) …
Setting up webmin-dnsmasq (0.6.7) …
dnsmasq
Then I reboot the sever and log into webmin UI. Under “Servers” I can see the “DNSMasq DNS & DHCP server”.
But when I click on it, I get this error message:
Well…that’s just sloppy coding on my part - it doesn’t even actually use that Perl module! I’ll have a fixed version shortly.
Thank you. Appreciate your effort. Will be happy to test end give feedback.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.