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

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