Virtualmin Bind configuration on CentOS 7 gone after upgrading to Virtualmin 7.2 or Webmin 1999

If you’re running a Virtualmin system, and all of a sudden your backups are failing with errors like these:

Creating backup for virtual server ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    Copying records in DNS domain ..
    .. domain not found!

Similarly, you then navigate to Webmin / BIND Configuration and there is looks like BIND has completely lost it’s configuration. You’ll see the screenshot below:

The primary configuration file for BIND /var/named/chroot/etc/named.conf does not exist, or is not valid. Create it?


You’re in hosting. Don’t panic. That doesn’t help anyone. This is Keith’s rule #1.

Cause & Solution

Webmin has an issue with it’s BIND config. Access the terminal and run the two commands below.

  1. This command will reset the config:
webminbindconf=/etc/webmin/bind8/config ; rm -f $webminbindconf ; cp /usr/libexec/webmin/bind8/config-CentOS-Linux-8.0-ALL $webminbindconf


Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top