A freshly installed server or a server with DNSmanager
The installation steps
-
If DNSmanager 5 is not installed, proceed to install it. Learn more in Installation and Getting started with DNSmanager.
NoteDNSmanager and IPmanager must work with the same DNS-server: BIND or PowerDNS. - Create a new user in DNSmanager. IPmanager will store reverse domain zones in the namespace of that user.
- Install IPmanager. Learn more in the article Installation guide.
-
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 -
Restart IPmanager:
/usr/local/mgr5/sbin/mgrctl -m ipmgr exit
If IPmanager is already installed
Step 1. Configuring the control panels
-
Install and configure DNSmanager. Learn more in Installation and Getting started with DNSmanager.
NoteDNSmanager and IPmanager must work with the same DNS-server: BIND or PowerDNS. - Create a new user in DNSmanager. IPmanager will store reverse domain zones in the namespace of that user.
-
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:
- Edit the DNS-sever configuration file:
- CentOS: /etc/named.conf
- Debian: /etc/bind/named.conf
-
Change :
view "default" {
into
view "<name space>" {
View details -
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:
-
Create the PowerDNS database dump:
mysqldump <database name> > <path to file>
View details -
Create a database
mysql CREATE DATABASE <database name>
View details -
Import the data from the dump into the database:
mysql <database name> < <path to dump>
View details
Step 3. Check
-
Restart IPmanager:
/usr/local/mgr5/sbin/mgrctl -m ipmgr exit
- Make sure that IPmanager and DNSmanager are up and running correctly.