If you have configured the integration of PowerDNS with VMmanager 6, you can reconfigure the integration to DNSmanager 6 while preserving the existing entries. To do this, the integration with PowerDNS must be configured according to the documentation.
If your server runs on CentOS 7, you have to migrate to AlmaLinux 9 before installing DNSmanager 6. For more details, see ELevate documentation.
Installing DNSmanager 6
- Download DNSmanager 6:
curl https://download.ispsystem.com/dnsmgr.install.sh -O
- Make the script executable:
chmod u+x dnsmgr.install.sh
- Install DNSmanager 6:
sh dnsmgr.install.sh
Creating database for DNSmanager 6
DNSmanager 6 will not be able to create the database due to existing mysqld settings. To create the database manually:
- Select the directory available to the mysql user. For example, /tmp. Create an init-file.txt file in it with the following contents:
CREATE DATABASE dnsmgr; CREATE USER 'dnsmgr'@'localhost' IDENTIFIED BY <пароль в кавычках>; GRANT ALL ON dnsmgr.* TO 'dnsmgr'@'localhost';
- Stop mysqld:
systemctl stop mysqld.service
- Create a user and a database for DNSmanager:
mysqld --init-file=/tmp/init-file.txt --skip-log-error --console --user mysql&
- When the output from mysqld stops, terminate the process:
kill $!
- Delete the init-file.txt file:
rm /tmp/init-file.txt
-
Launch mysqld:
systemctl start mysqld.service
Configuring DNSmanager 6
- Create the db.conf and dns.conf files in the /opt/ispsystem/dnsmanager6/etc/dnsmgr.conf.d/ directory:
db.confDBType mysql DBHost localhost DBUser dnsmgr DBPassword <пароль в кавычках> DBName dnsmgr
dns.confDNS pdns path PdnsConfigDir /etc/pdns PdnsDBHost localhost DefViewName powerdns # значение gmysql-dbname из /etc/pdns/pdns.conf PdnsDBUser powerdns # значение gmysql-user из /etc/pdns/pdns.conf PdnsDBPassword ciVaeD5uu2quaiphee4w # значение gmysql-password из /etc/pdns/pdns.conf
- Log in to DNSmanager 6 with the account:
- Login — root;
- Password — <server password>;
- Create an administrator account and log in to the platform with the administrator's rights:
- In the left menu, go to Account Management → Administrators, click Add.
- Fill in the Name, Password, Confirmation fields.
- Select the administrator record you have created and click Log in.
- Create a user account:
- In the left menu, go to Account Management → Users, click Add.
- Fill in the Name, Password, Confirmation fields.
- Fill in the Name, Password, Confirmation fields and check:
- Add existing IP addresses;
- Allow using view by default.
- Add existing IP addresses;
Configuring VMmanager 6
- Authorize in VMmanager 6.
- Disable integration with PowerDNS.
- Enable integration with DNSmanager 6. Specify the details of the integration user you created in DNSmanager 6.
Synchronizing entries between VMmanager 6 and DNSmanager 6 takes up to 30 minutes and does not interfere with the operation of the platforms.
Useful tips
Related topics: