• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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