• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Plesk Extension.... 'Transfer of DNS Records'

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?
 

Attachments

  • Screenshot 2022-05-17 at 08.55.49.png
    Screenshot 2022-05-17 at 08.55.49.png
    170.2 KB · Views: 3
Based on the symptoms and similar cases from the past, this may happen when the DNS transfer extension is corrupted.
Have you tried to re-install this extension?
 
Thanks for your reply Igor, much appreciated.

I've just tried removing the extension and re-installing it but still get the same result - should I restart the Plesk service in-between?
 
I suggest you submit a detailed report here Reports
I will forward it to the developers for further investigation.
 
Back
Top