Rob Taylor
Basic Pleskian
- Server operating system version
- CentOS Linux 7.9.2009 (Core)
- Plesk version and microupdate number
- 18.0.43 Update #1
Hi All,
Been a Plesk user for a long time but only ever used for web / email hosting, we are looking to migrate the DNS hosting for our client domains from our own DNS servers to the Plesk server(s) and then sync back, so users can edit DNS records themselves in the Plesk control panel.
I found there is a 'Transfer of DNS Records' Plesk Extension which will import the zone files for us and it seems perfect but just can't get it to work...
Problem:
If I go to the extension in the control panel web UI it does not find any domain names (see attached) despite there being 200+ domain names on the server.
If I try running the import from the command line:
plesk ext dns-transfer import 2 /tmp/example.com
...it returns a PHP error:
Continue importing? Type (Y)es or (N)o: [2022-05-17 08:39:56.730] 29517:6283514cb1bec ERR [panel] Call to undefined function PleskExt\DnsTransfer\Cli\Command\readline():
0: /usr/local/psa/admin/plib/modules/dns-transfer/library/Cli/Command/ImportCommand.php:137
PleskExt\DnsTransfer\Cli\Command\ImportCommand->run()
1: /usr/local/psa/admin/plib/modules/dns-transfer/hooks/ApiCli.php:56
Modules_DnsTransfer_ApiCli->executeCommand(string 'import')
2: /usr/local/psa/admin/plib/modules/dns-transfer/hooks/ApiCli.php:33
Modules_DnsTransfer_ApiCli->importCommand()
3: /usr/local/psa/admin/plib/Extension/Hook/ApiCli.php:26
Plesk\Extension\Hook\ApiCli::call(string 'dns-transfer', array)
4: /usr/local/psa/admin/plib/api-common/cuModule.php:419
cuModule->_callCommand(string 'dns-transfer', array)
5: /usr/local/psa/admin/plib/api-common/cuApp.php:79
cuApp->_callCommandMethod(array)
6: /usr/local/psa/admin/plib/api-common/cuModule.php:172
cuModule->_callCommandMethod(array)
7: /usr/local/psa/admin/plib/api-common/cuApp.php:73
cuApp->_executeCommand()
8: /usr/local/psa/admin/plib/api-common/cuApp.php:53
cuApp->runFromCliGate()
9: /usr/local/psa/admin/plib/api-common/CuExecutor.php:69
CuExecutor->execUtil(string 'cuModule', string 'runFromCliGate')
10: /usr/local/psa/admin/plib/api-common/CuExecutor.php:131
CuExecutor->run()
11: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:28
CliUtilityRunner->run()
12: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:37
require_once(string '/usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php')
13: /usr/local/psa/admin/plib/api-cli/extension.php:3
ERROR: Error: Call to undefined function PleskExt\DnsTransfer\Cli\Command\readline() (ImportCommand.php:137)
exit status 1
SOFTWARE - We are running CentOS Linux 7.9.2009 (Core) and a Plesk Version 18.0.43 Update #1 (fully licensed).
QUESTION:
The Plesk files are all protected code so can't debug myself, I can't think of anything else I can do to troubleshoot this other than reporting as a bug - has anyone else used this extension with any success?
Been a Plesk user for a long time but only ever used for web / email hosting, we are looking to migrate the DNS hosting for our client domains from our own DNS servers to the Plesk server(s) and then sync back, so users can edit DNS records themselves in the Plesk control panel.
I found there is a 'Transfer of DNS Records' Plesk Extension which will import the zone files for us and it seems perfect but just can't get it to work...
Transfer of DNS Records - Plesk Extension
This extension imports DNS records from a BIND file, automatically verifies the DNS records are correct, and adds the DNS records you select to Plesk.
www.plesk.com
Problem:
If I go to the extension in the control panel web UI it does not find any domain names (see attached) despite there being 200+ domain names on the server.
If I try running the import from the command line:
plesk ext dns-transfer import 2 /tmp/example.com
...it returns a PHP error:
Continue importing? Type (Y)es or (N)o: [2022-05-17 08:39:56.730] 29517:6283514cb1bec ERR [panel] Call to undefined function PleskExt\DnsTransfer\Cli\Command\readline():
0: /usr/local/psa/admin/plib/modules/dns-transfer/library/Cli/Command/ImportCommand.php:137
PleskExt\DnsTransfer\Cli\Command\ImportCommand->run()
1: /usr/local/psa/admin/plib/modules/dns-transfer/hooks/ApiCli.php:56
Modules_DnsTransfer_ApiCli->executeCommand(string 'import')
2: /usr/local/psa/admin/plib/modules/dns-transfer/hooks/ApiCli.php:33
Modules_DnsTransfer_ApiCli->importCommand()
3: /usr/local/psa/admin/plib/Extension/Hook/ApiCli.php:26
Plesk\Extension\Hook\ApiCli::call(string 'dns-transfer', array)
4: /usr/local/psa/admin/plib/api-common/cuModule.php:419
cuModule->_callCommand(string 'dns-transfer', array)
5: /usr/local/psa/admin/plib/api-common/cuApp.php:79
cuApp->_callCommandMethod(array)
6: /usr/local/psa/admin/plib/api-common/cuModule.php:172
cuModule->_callCommandMethod(array)
7: /usr/local/psa/admin/plib/api-common/cuApp.php:73
cuApp->_executeCommand()
8: /usr/local/psa/admin/plib/api-common/cuApp.php:53
cuApp->runFromCliGate()
9: /usr/local/psa/admin/plib/api-common/CuExecutor.php:69
CuExecutor->execUtil(string 'cuModule', string 'runFromCliGate')
10: /usr/local/psa/admin/plib/api-common/CuExecutor.php:131
CuExecutor->run()
11: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:28
CliUtilityRunner->run()
12: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:37
require_once(string '/usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php')
13: /usr/local/psa/admin/plib/api-cli/extension.php:3
ERROR: Error: Call to undefined function PleskExt\DnsTransfer\Cli\Command\readline() (ImportCommand.php:137)
exit status 1
SOFTWARE - We are running CentOS Linux 7.9.2009 (Core) and a Plesk Version 18.0.43 Update #1 (fully licensed).
QUESTION:
The Plesk files are all protected code so can't debug myself, I can't think of anything else I can do to troubleshoot this other than reporting as a bug - has anyone else used this extension with any success?