DNSmanager Documentation

How to install IPmanager and DNSmanager on the same server

A freshly installed server or a server with DNSmanager

Note
When you install DNSmanager and IPmanager on the same server you don't need to integrate them. 

The installation steps

  1. If DNSmanager 5 is not installed, proceed to install it. Learn more in Installation and Getting started with DNSmanager.

    Note
    DNSmanager and IPmanager must work with the same DNS-server: BIND or PowerDNS.
  2. Create a new user in DNSmanager. IPmanager will store reverse domain zones in the namespace of that user.
  3. Install IPmanager. Learn more in the article  Installation guide.
  4.  Add the ViewName parameter into the IPmanager configuration file (by default it is located in /usr/local/mgr5/etc/ipmgr.conf)

    echo "ViewName <name space>" >> /usr/local/mgr5/etc/ipmgr.conf
    View details
  5. Restart IPmanager:

    /usr/local/mgr5/sbin/mgrctl -m ipmgr exit

If IPmanager is already installed

Note.
When you install DNSmanager and IPmanager on the same server you don't need to integrate them. 

Step 1. Configuring the control panels 

  1. Install and configure DNSmanager. Learn more in Installation and Getting started with DNSmanager.

    Note
    DNSmanager and IPmanager must work with the same DNS-server: BIND or PowerDNS.
  2. Create new user in DNSmanager. IPmanager will store reverse domain zones in the namespace of that user.
  3. Add the ViewName parameter  into the IPmanager configuration file (by default it is located in /usr/local/mgr5/etc/ipmgr.conf):

    echo "ViewName <name space>" >> /usr/local/mgr5/etc/ipmgr.conf
    View details

Step 2. Configuring the DNS-server 

If you use BIND:

  1. Edit the DNS-sever configuration file:
    1. CentOS: /etc/named.conf
    2. Debian: /etc/bind/named.conf
  2. Change :

    view "default" {

    into

    view "<name space>" {
    View details
  3. In this section "view" change the values of the  match-destinations and transfer-source parameters:

    match-destinations { <user IP address>; };
    transfer-source <user IP address>;
    View details

If you use PowerDNS:

  1. Create the PowerDNS database dump:

    mysqldump <database name> > <path to file>
    View details
  2. Create a database

    mysql
    CREATE DATABASE <database name>
    View details
  3. Import the data from the dump into the database: 

    mysql <database name> < <path to dump>
    View details

Step  3. Check

  1. Restart  IPmanager:

    /usr/local/mgr5/sbin/mgrctl -m ipmgr exit
  2. Make sure that IPmanager and DNSmanager are up and running correctly.