Does this two sentences look familiar…
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.
... especially after the server restart.
Easy and quick solution:
- Go to
- Use Nano, Vim or some software like WinSCP and create
dhclient.conffile with content:
send host-name = “hostname.yourdomain.tld”;
supersede domain-name “yourdomain.tld”;
supersede domain-search “yourdomain.tld”;
supersede domain-name-servers 127.0.0.1, 18.104.22.168, 22.214.171.124, xxx.xxx.xxx.xxx;
Replace x’s with your server IP address.
dhclient.conffile and restart the network with
service network restartor
systemctl restart network(or restart your server).
- Go to Virtuallmin -> System Settings -> Re-Check Configuration and see what results you get this time.
OS: Centos 7.4
Virtualization: KVM, OpenVZ
P.S. While i tested on two separate VPS from two separate companies and it worked without any problem, use a caution as you are playing with a network.