• 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.

Update DNS Zones for all domains from DNS Template

AndreasY

Basic Pleskian
Hi,

in previous version of plesk the dnsmng.exe tool could be used to rebuild all of the domain zone files

"%plesk_bin%\dnsmng.exe" update *

This tool is no longer in the same directory but is found here

%plesk_dir%\admin\bin

But when I run the tool with the same command, it looks to be doing something, but when I check the domain zone files they have NOT been updated.

So whats the score ?

Has the tool changed ?

Thanks
 
Hi,

could you provide you current plesk version and latest plesk version where this command works for you?

Which dns server do you use? MsDNS or BIND?
 
Hi,

could you provide you current plesk version and latest plesk version where this command works for you?

Which dns server do you use? MsDNS or BIND?
Hi!

I dont have access to Plesk 8.6 anymore, that version it worked

MS DNS

We are currently using Plesk 12.0.18 Update #3, last updated at June 3

Link to original source

http://kb.parallels.com/en/154

After adding the records to the Plesk database, it is necessary to rebuild all of the domain zone files by running the following command:
Windows:
"%plesk_bin%\dnsmng.exe" update *

Thanks
 
Last edited:
Hi,

could you provide you current plesk version and latest plesk version where this command works for you?

Which dns server do you use? MsDNS or BIND?
Hi,

could you provide you current plesk version and latest plesk version where this command works for you?

Which dns server do you use? MsDNS or BIND?
Hi!

I dont have access to Plesk 8.6 anymore, that version it worked

We are currently using Plesk 12.0.18 Update #3, last updated at June 3

MS DNS

Link to original source

http://kb.parallels.com/en/154

After adding the records to the Plesk database, it is necessary to rebuild all of the domain zone files by running the following command:
Windows:
"%plesk_bin%\dnsmng.exe" update *

Thanks
 
Hello,
The solution provided in the KB is not actual for PPCP 8.6.0 and higher - the SOA serial format is not taken from the psa.misc in the modern versions. BTW the command:
"%plesk_bin%\dnsmng.exe" update *
is still actual and updates DNS zones with data taken from psa database. But if there are no changes made in the psa database there are no changes in the DNS zones except increased serial.

As I understand you need command to reset all DNS zones by the server DNS template. You can do it with dns.exe CLI utility for every [sub]domain/domain_alias:
"%plesk_cli%\dns.exe" --reset domain.tld -ip 1.2.3.4
SUCCESS: Restoring the DNS zone by the template for Domain 'domain.tld' complete.

There is no ability to reset all DNS zones at once.
 
Hello,
The solution provided in the KB is not actual for PPCP 8.6.0 and higher - the SOA serial format is not taken from the psa.misc in the modern versions. BTW the command:
"%plesk_bin%\dnsmng.exe" update *
is still actual and updates DNS zones with data taken from psa database. But if there are no changes made in the psa database there are no changes in the DNS zones except increased serial.

As I understand you need command to reset all DNS zones by the server DNS template. You can do it with dns.exe CLI utility for every [sub]domain/domain_alias:
"%plesk_cli%\dns.exe" --reset domain.tld -ip 1.2.3.4
SUCCESS: Restoring the DNS zone by the template for Domain 'domain.tld' complete.

There is no ability to reset all DNS zones at once.
Thank you ever so much for this information.

You dont happen to have a script which we can use to parse a list of domains to a txt file then feed that to the cli utility ?

Thanks

-- EDIT --

Is this CLI valid for Plesk 12 ???

http://download1.parallels.com/Plesk/PP11/11.5/Doc/en-US/online/plesk-win-cli/

-- EDIT2 --

Found the document

http://download1.parallels.com/Plesk/PP12/12.0/Doc/en-US/online/plesk-win-cli/

Thanks
 
Last edited:
Hello.
You can get list of all domains, addon domains and subdomains using such command:
"%plesk_cli%\domain.exe" -l
Then you can use it by any script you want, for example in your case (Replace "1.2.3.4" to your IP):

"%plesk_cli%/domain" -l > domains.txt
for /F %%i in (domains.txt) Do (
call "%plesk_cli%\dns.exe" --reset %%i -ip 1.2.3.4
)
 
Back
Top