On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

Is it possible to export DNS zone data for a domain using Plesk?

Follow

Comments

6 comments

  • Avatar
    Don Duke

    -bash-4.2$ /usr/local/psa/bin/dns --info example.com > dom_dns.txt
    Could not open Repository at "/etc/sw/keys": Cannot open file: /etc/sw/keys/info
    -bash-4.2$

    What now? :/

    0
    Comment actions Permalink
  • Avatar
    Lev Iurev

    Hi @Don Duke

    looks like insufficient permissions for user that tries to execute the command. that is described here

    0
    Comment actions Permalink
  • Avatar
    Hank

    The second command includes a specific domain name and only gives me data for that domain. How can I put a wildcard or variable in there?

     

    0
    Comment actions Permalink
  • Avatar
    Hank

    Ok I replaced it with $i

    # for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/dns --info $i; done > dom_dns.txt

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Hank,

    Thank you for the notice.

    The article will be updated soon.

    0
    Comment actions Permalink
  • Avatar
    David Matney

    Would be nice to be able to import a zone also.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request