• 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

Documentation not updated?

K

kevork

Guest
Hello,

Am I wrong, or CLI documentation for plesk 9.5 is not updated?

I am trying to get the whole sintax for "dnsmng", but I did not find it in this doc.
Instead, I found "dns". Trying to use its sintax on "dnsmng" get no result.

Example:
dnsmng --set-slave domain.tld
But no change is done.

Would appreciate any help.

Thank you!
 
/usr/local/psa/admin/sbin/dnsmng is internal non-CLI utility. You should use /usr/local/psa/bin/dns utility instead.
 
Hello Igor,

Would you please let me know how is the way to update all for the zone files using CLI?
I set all TXT records for all my domains, on dns_rec table, but I need to get the zone files updated ...

Thank you so much,
Jorge.
 
Use dns utility with script. Something like:
for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/dns -a $i -txt .......;done

More details in

# /usr/local/psa/bin/dns --help
 
Back
Top