I am trying to install Virtualmin with on my Digital Ocean Ubuntu server but I keep failing. I always end up with the message that I need to check my configuration and then I get the “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.” error.
It puzzles me what is happening. I am using the Digital Ocean DNS so I don’t see the need for Virtualmin. But I can’t find how to delete that option on Virtualmin. Neither do I understand trying to make my own server a DNS too should result in problems.
Please help me understand this.
Virualmin wants to check its local DNS server first for name resolution. SO go to webmin - networking - hostname and DNS client - Where its lists DNS servers, put 127.0.0.1 in the top box, If you have a Bind Dns server running on the local machine. Which it will be for a default virtualmin install. Then list other DNS servers after that. Like 18.104.22.168 or the DNS from your host. Click save, then run virtualmin config check again.
The second option, turn off bind, is not really an option for virtualmin unless you know what your doing and have a Bind server running elsewhere.
Actually, you don’t need to do any of that, you can just turn off the BIND DNS Domains feature in Virtualmin System Settings->Features and Plugins if you’re using a different DNS server. That warning only happens if Virtualmin believes it is responsible for DNS (which is the default). So, turn it off, and re-check.
And, once that’s done, you can also turn off BIND and configure it to not start on boot.