recheck erro message

My VPS has 2 ips.

I register a domain, for example:
and put the nameservers: with the ip example: with the ip example:

I put the hostname of vps

I install virtualmin using script and recheck config everything is fine

Afther I Create Virtual Server with
setup nameservers for my server ( with the ip example: with the ip example:

and reboot the VPS…
And recheck config everything and receive this message:

Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server. Either add to the list of DNS servers, or turn off the BIND feature on the module config page.

… your system is not ready for use by Virtualmin.


The first entry in that DNS FAQ you linked to describes what you can do to handle the error the Re-Check config mentioned.

Give that a shot, and let us know if you’re still having problems after trying the suggestions in there.


Thanks for the help.

I am using vps with CentOS 5 32bits

I create the /etc/dhclient.conf with:
prepend domain-name-servers;

in /etc/resolv.conf has:

And I do this:
‘System Settings’ -> ‘Virtualmin Configuration’ -> ‘Advanced Settings’, and set ‘Check resolv.conf for this system’ to ‘No’.

And now the recheck is OK.

I reinstall and now I see when I reboot automatically overwrites the file /etc/resolv.conf
So I do ‘chattr +i /etc/resolv.conf’.

And now all is ok.

Thanks for the help