• 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

Bulk DNS Update

D.D

New Pleskian
After migration we see some domains have still wrong records in named. There is a difference between PSA DB and named. We found and know about: http://kb.parallels.com/en/154

After run: /usr/local/psa/admin/sbin/dnsmng update domainname.com
Get errors: dnsmng: Some parameters in command string are left unprocessed. Check parameters please.
dnsmng: Some parameters in command string are left unprocessed. Check parameters please.

It looks a problem by all domains.

If try to change something in Plesk by this domain the sync is working normal, but I need to do a bulk update.
 
Found the fix:

Plesk 8.6: mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select name from dns_zone' | awk '{print "/usr/local/psa/admin/sbin/dnsmng update " $1 }' | sh
Plesk 11: mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select name from domains' | awk '{print "/usr/local/psa/admin/sbin/dnsmng --update " $1 }' | sh
 
Cheers man. This was incredibly useful after doing a bulk dns modification through phpMyAdmin after a server migration.
 
Back
Top