• 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.
  • 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Just took a few seconds to alter NS-record with mysql, but....

Frater

Regular Pleskian
I had to do a bulk change for NS-servers because it would have been a lot of work.
I did this:

Code:
mysql> update dns_recs set val='ns6.xxxx.nl.' where val='ns2.xxxx.net.' and type='NS';
Query OK, 128 rows affected (0.05 sec)
Rows matched: 128  Changed: 128  Warnings: 0

mysql> update dns_recs set displayVal='ns6.xxxx.nl.' where displayVal='ns2.xxxx.net.' and type='NS';
Query OK, 128 rows affected (0.46 sec)
Rows matched: 128  Changed: 128  Warnings: 0

But now I'm trying to find the proper command in Plesk 12 to apply this.
I think I need this:
Code:
# /usr/local/psa/bin/repair
Usage: repair.sh command [options]

No way it is giving me any direction when I try something....
 
# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/admin/sbin/dnsmng --update $i; done
 
In the end I did this:
Code:
#/bin/sh

mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -sNe "select name from dns_zone;" > /root/domains_list

while read domain ; do
  /usr/local/psa/admin/bin/dnsmng --update $domain
done < /root/domains_list
 
Back
Top