• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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