recheck erro message

  • dossantos
  • 11/23/11
  • Offline
Posted: Wed, 2011-11-23 13:46

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.


Howdy, The first entry in

  • andreychek
  • 01/05/09
  • Offline
  • Wed, 2011-11-23 14:08

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


Thanks for the help. I am

  • dossantos
  • 11/23/11
  • Offline
  • Wed, 2011-11-23 14:34

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.


I reinstall and now I see

  • dossantos
  • 11/23/11
  • Offline
  • Wed, 2011-11-23 20:31

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