DNSmanager 6 Documentation

Migrating from PowerDNS to DNSmanager 6

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

  1. Download DNSmanager 6:
    curl https://download.ispsystem.com/dnsmgr.install.sh -O
  2. Make the script executable:
    chmod u+x dnsmgr.install.sh
  3. 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:

  1. 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';
  2. Stop mysqld:
    systemctl stop mysqld.service
  3. Create a user and a database for DNSmanager: 
    mysqld --init-file=/tmp/init-file.txt --skip-log-error --console --user mysql&
  4.  When the output from mysqld stops, terminate the process:
    kill $!
  5. Delete the init-file.txt file:
    rm /tmp/init-file.txt
  6. Launch mysqld:

    systemctl start mysqld.service

Configuring DNSmanager 6

  1. Create the db.conf and dns.conf files in the /opt/ispsystem/dnsmanager6/etc/dnsmgr.conf.d/ directory:
    db.conf
    DBType mysql
    DBHost localhost
    DBUser dnsmgr
    DBPassword <пароль в кавычках>
    DBName dnsmgr
    dns.conf
    DNS 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 
  2. Log in to DNSmanager 6 with the account:
    • Login — root;
    • Password — <server password>; 
  3. Create an administrator account and log in to the platform with the administrator's rights:
    1. In the left menu, go to  Account Management → Administrators, click Add.
    2. Fill in the Name, Password, Confirmation fields.
    3. Select the administrator record you have created and click Log in.
  4. Create a user account:
    1. In the left menu, go to Account Management → Users, click Add.
    2. Fill in the Name, Password, Confirmation fields.
    3. Fill in the Name, Password, Confirmation fields and check:
      • Add existing IP addresses;
      • Allow using view by default.

Configuring VMmanager 6

  1. Authorize in VMmanager 6.
  2. Disable integration with PowerDNS.
  3. 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: