• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Problem using dns.exe command line

V

Vicente Monroig

Guest
Hello.

We were trying to reset all our domains to a modified DNS template, and tryed using dns.exe command line utility. This is the problem we encountered:

Code:
C:\>C:\plesk\bin\dns.exe -res example.com -ip xx.xx.xx.xx

Warning: cuDNS::require_once(class.IPPool.php): failed to open stream: No such f
ile or directory in C:\plesk\admin\plib\api-common\cuDns.php on line 477

Fatal error: cuDNS::require_once(): Failed opening required 'class.IPPool.php' (
include_path='C:\plesk\admin\plib;C:\plesk\admin\plib\api-rpc;C:\plesk\admin\jav
ascripts;C:\plesk\admin\plib\locale;C:\plesk\admin\auto_prepend;C:\plesk\admin\h
tdocs\domains\databases\phpMyAdmin;C:\plesk\admin\htdocs\domains\databases\phpPg
Admin') in C:\plesk\admin\plib\api-common\cuDns.php on line 477

C:\>C:\plesk\bin\dns.exe -res example.es -ip xx.xx.xx.xx
SUCCESS: Restoring the DNS zone by the template for DomainAlias 'example.
es' complete.

All domains failed except if domain is alias of another one. In this code, example.com is main domain, and example.es is alias of it. Of course, -ip parameter is provided with a valid IP.

Any thoughts? Thank you in advance.
 
Back
Top