Mass-disable plugin (Bind DNS)

Hi All,

I upgraded virtualmin and webmin to webmin-1.520-1 and I got an error that the DNS is not working and things are not OK. That’s true because we disabled and deinstalled DNS on our server since we are running it somewhere else. Same for mail, mailman, and other stuff.
However when I want to disable the plugin system-wide I got an error it can’t be disabled beacuse it is in use by a lot of virtual hosts. We are running quite a lot of virtual hosts so disabling manualy with the web interface would cost a lot of work. Is there an option to mass-disable the plugin on every virtual host? Perhaps I can edit some files in /etc/webmin to accomplish this?

Running CentOS5:

[bwelmers@www ~]$ rpm -qa | grep virtualmin virtualmin-release-1.0-1.rhel.gpl wbm-virtualmin-init-2.1-1 wbm-virtualmin-google-analytics-2.4-1 wbm-virtualmin-mailman-5.9-1 wbm-virtualmin-dav-3.3-1 wbm-virtualmin-registrar-2.0-1 wbm-virtualmin-htpasswd-2.3-1 virtualmin-base-1.0-61.rh virtualmin-bleed-release-1.0-1.rhel wbm-virtualmin-svn-4.7-1 wbm-virtualmin-awstats-4.4-1 [bwelmers@www ~]$ rpm -qa | grep webmin webmin-1.520-1

Thanks in advance,

Bastiaan Welmers

You can accomplish that using the shell:

virtualmin disable-feature --all-domains --dns

It’s not recommended by the way to fully disable/uninstall BIND, since it’s a dependency of Virtualmin and its checks require it to be there. Even if you do not use BIND to serve the zones of your virtual servers (which is okay of course), the servers should not be uninstalled.