A freshly installed server or DNSmanager is already installed
Note
When you install DNSmanager and IPmanager on the same server you don't need to integrate them.
-
If the server is clean, you need to installDNSmanagerand make the initial installation;
Note.DNSmanager and IPmanager should work with the same DNS server: BIND or PowerDNS. - Create a user in DNSmanager. IPmanager will store the reverse domain zones in the namespace of this user;
- Install IPmanager. Find out more in the article Installation of IPmanager;
-
Add the ViewName parameter to the IPmanager configuration file (/usr/local/mgr5/etc/ipmgr.conf):
echo "ViewName <namespace>" >> /usr/local/mgr5/etc/ipmgr.conf
View details -
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. Control panel setup
-
Install and make the initial installation ofDNSmanager.
Please note!DNSmanager and IPmanager should work with the same DNS server: BIND or PowerDNS. - Create a user in DNSmanager. IPmanager will store the reverse domain zones in the namespace of this user;
-
Add the ViewName parameter to the IPmanager configuration file (/usr/local/mgr5/etc/ipmgr.conf):
echo "ViewName <namespace>" >> /usr/local/mgr5/etc/ipmgr.conf
View details
Step 2. DNS server configuration
If you use BIND:
- Allow editing of the DNS server configuration file:
- CentOS: /etc/named.conf
- Debian: /etc/bind/named.conf
-
Replace the line from:
view "default" {
to
view "<namespace>" {
View details -
Replace the match-destinations and transfer-source parameters in the "view" field:
match-destinations { <user IP address>; }; transfer-source <user IP address>;
View details
If you use PowerDNS:
-
Dump the PowerDNS database:
mysqldump <database name> > <database path>
View details -
Create the database
mysql CREATE DATABASE <database name>
View details -
Transfer the data from the dump into the created database:
mysql <database name> < <dump path>
View details
Step 3. Verification
-
Restart IPmanager
/usr/local/mgr5/sbin/mgrctl -m ipmgr exit
- Make sure that IPmanager and DNSmanager work fine.