H-Sphere Sysadmin Guide

MyDNS Installation and Configuration

version 2.3 and higher

 
 

Related Docs:  

Restarting Named (Sysamdin Guide) DNS migration from BIND to MyDNS (Sysadmin Guide)

MyDNS is a DNS server for UNIX that serves records directly from an SQL database and can be used in H-Sphere as an alternative to bind. Currently H-Sphere supports MyDNS to work only with MySQL.

 

Installation

To configure H-Sphere to work with MyDNS:

  1. Download the latest version of MyDNS.
  2. Install and configure MyDNS version that is served by MySQL DB on a new or any of your existing H-Sphere servers following the instructions that come with the installation package.
    Warning: Don't rename the 'mydns' MySQL DB created during the installtaion.
  3. Add the following lines into the ~cpanel/shiva/psoft_config/hsphere.properties file:
    MYDNS_USER = <login>
    MYDNS_PASS = <password>
    MYDNS_DB_HOST = <IP>
    where:
    login is the name of MyDNS user to access MySQL DB you've created during the installation;
    password is the password for MyDNS user login;
    IP is the IP of the server with MySQL DB created during the installation.
  4. In the admin control panel check if MyDNS name server is listed as a server group.. If it's not, log into the system database and execute:
    INSERT INTO l_server_groups (id, type_id, name) VALUES (21, 2, 'MyDNS name server');
  5. Restart your CP.
  6. If you install MyDNS on a new server, add this physical server.
  7. Add MyDNS logical server(s) with the MyDNS name server group and check if it is available for signup.

 

Uninstallation

To remove H-Sphere DNS service, remove the 'hsphere-bind' package:

rpm -e hsphere-bind*

To disable H-Sphere DNS service:

chkconfig --level 345 named off

 


Related Docs:  

Restarting Named (Sysamdin Guide) DNS migration from BIND to MyDNS (Sysadmin Guide)



© Copyright 1998-2007. Positive Software Corporation.
All rights reserved.