Virtualmin is configured to setup DNS zones but this system is not setup to use itself as a DNS server
Failed to save enabled features : Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server. Either add 127.0.0.1 to the list of DNS servers, or turn off the BIND feature on the module config page.
This is a generic error telling the website administrator that the local DNS entries are being checked using external methods. Most of the time, this wont be a real issues but it causes a performance spike which depends highly on where the DNS entries are being searched.
On the case of Webmin/Virtualmin, the system will try to block you from creating new virtual host until this issue get’s resolved but either turning off the local DNS which is being controlled by BIND module or by correcting the problem being complained by your OS.
Fixing the Local DNS Inquiry
The fix is pretty simple and involves by logging to your server via Secured Shell with ROOT capability. I am assuming you have already done the basic steps when starting a new server.
Open up /etc/resolv.conf and add the following entry at the bottom.
Save your new resolv.conf file. Newer DNS checking will now see the localhost entry (IP 127.0.0.1) and will start scanning your local BIND settings before doing a third-party DNS search.
When the error Failed to save enabled features : Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server. Either add 127.0.0.1 to the list of DNS servers, or turn off the BIND feature on the module config page kicks in. The server was trying to tell you that you have a working DNS but DNS lookup was not being performed locally. Sometimes you can just ignore this but it will mess up DNS resolution on your domains.
If you are hosting your own DNS server, make sure to TURN OFF your network cards automated IP assignment via DHCP. Use your static IP instead of DHCP. If you don’t know how, just leave a comment and leave your OS name and Version Number.