• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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