recheck erro message

4 posts / 0 new
Last post
#1 Wed, 11/23/2011 - 12:46
dossantos

recheck erro message

My VPS has 2 ips.

I register a domain, for example: aaa.com and put the nameservers: ns1.aaa.com with the ip example: 188.88.88.0 ns2.aaa.com with the ip example: 188.88.88.1

I put the hostname of vps server1.aaa.com

I install virtualmin using script install.sh and recheck config everything is fine

Afther I Create Virtual Server with aaa.com and setup nameservers for my server (http://www.virtualmin.com/documentation/dns/faq) ns1.aaa.com with the ip example: 188.88.88.0 ns2.aaa.com with the ip example: 188.88.88.1

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

Wed, 11/23/2011 - 13:08
andreychek

Howdy,

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.

-Eric

Wed, 11/23/2011 - 13:34
dossantos

Thanks for the help.

I am using vps with CentOS 5 32bits

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

in /etc/resolv.conf has: nameserver 8.8.8.4 nameserver 8.8.4.4

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.

Wed, 11/23/2011 - 19:31
dossantos

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

Topic locked