• 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 DNS errors during ip remap cause exit 1 before web hosting can be switched

websavers

Regular Pleskian
We've done a number of migrations from CentOS 6 to CentOS 8 (and now AlmaLinux 8) without any problems running first reconfigurator and now `plesk bin ipmanage --remap /path/to/ip_map.txt`

Today we got a bunch of DNS updating errors after a Plesk Migration which ultimately result in the ip mapping exiting prior to actually completing the IP changes to web and mail services. Note that the first line below was repeated many times for multiple domains that we migrated:
Unable to add the new2.domain.com. IN A $LIVE_IP record to zone domain.com: DNS record 'new2.domain.cp,. IN A $LIVE_IP' already exists.:
0: /usr/local/psa/admin/plib/Task/Async/Executor.php:42
Task_Async_Executor->execute()
1: /usr/local/psa/admin/plib/scripts/task-async-executor.php:6

Exit 1
To fix it we had to manually run the IP change as described here in the Plesk KB. And then update the IP in the DB for the particular domain that refused to change:
UPDATE dns_recs SET val = '$LIVE_IP' WHERE val = '$TMP_IP';
Which reported a single change, indicating that this was just *one* domain in the end that failed to update.

What I'd like to see happen: rather than exiting part way through changing IPs, if the ip map script encounters an error with a domain, it should continue the process, then report the issue with that one domain at the end. Then we can manually take action on that one domain with the problem rather than having to manually repair everything.
 
Just had yet another migration (after dozens without issue) where DNS records refused to update properly with ipmanage --remap. Had to run the following to fix it:
SQL:
update dns_recs set host = '<CORRECT_IP>' where host = '<WRONG_IP>';
update dns_recs set displayHost = '<CORRECT_IP>' where displayHost = '<WRONG_IP>';
update dns_recs set val = '<CORRECT_IP>' where val = '<WRONG_IP>';
update dns_recs set displayVal = '<CORRECT_IP>' where displayVal = '<WRONG_IP>';

Then `plesk repair dns` to fix it.

When the IP remapping was part of the autoconfigure utility, this never happened.
 
Back
Top