Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server

I did an upgrade to Virtualmin and Re-Checking Configuration accidentally I got an error message:

"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."

I did Re-Checking Configuration before and never happened this issue (I still have all configurations backup). I can add "nameserver 127.0.0.1" instantly in /etc/resolv.conf. This solution is fixing the problem. Is it a new feature in Virtualmin? Is this safe as solution?

By the way IP Address is static, it is a dedicated server. No DHCP.

Status: 
Active

Comments

Howdy -- you aren't seeing a new feature. Virtualmin will throw an error if it is configured to be a DNS server, and 127.0.0.1 isn't listed in the resolv.conf file.

If you're using Virtualmin's DNS feature, the best solution is to add 127.0.0.1 to resolv.conf.