• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Bug: server_dns does not work as expected & dns help output

Tozz

Regular Pleskian
According to /opt/psa/bin/server_dns -h:

Code:
    --set or -s        <rec1;rec2;...> Adds all resource records to DNS zone
                                       template. Old records will be removed.
                                       Record format is
                                       "<type>,<host>,<ip>[,<option>]".
                                       Examples: "NS,<domain>.,ns.<domain>.",
                                       "MX,<domain>.,mail.<domain>.,10"

I tried this exact example:

Code:
# ./server_dns --set "NS,<domain>.,ns.<domain>."
Incorrect DNS record values were specified.

The Command Line Reference seems to be correct, so only the CLI help output is wrong.

Plesk CLI reference

Also. According to /opt/psa/bin/dns -h:

Code:
    --sync <domain_name|domain_alias_name>
                                       cu_dns_command_description_sync
    --sync-all-zones                   cu_dns_command_description_sync_all_zones

It looks like the 'cu_dns_command-description_sync' is a placeholder that is not replaced by the proper help text.
 
Last edited:
I see following:

--set or -s <rec1;rec2;...> Adds all resource records to DNS zone
template. Old records will be removed.
Record format is
"<type>,<host>,<ip>[,<option>]".
Examples: "NS,,ns.<domain>.",
"MX,,mail.<domain>.,10"

And all works fine for me:

# plesk bin server_dns --set "MX,,mail34.ppu11-5.demo.pp.plesk.ru.,10"
DNS record was successfully updated in the server-wide DNS zone template.
 
Igor, probably you've checked our internal build there help message was already corrected :) As for --sync-all-zones it's an internal command and will be hidden in the nearest microupdate.
 
Igor, probably you've checked our internal build there help message was already corrected :) As for --sync-all-zones it's an internal command and will be hidden in the nearest microupdate.

Exactly :)

# cat /root/.autoinstaller/microupdates.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<patches>
<product id="plesk" version="11.5.30" installed-at="20130816T133814">
<patch version="13" timestamp="" installed-at="20130816T133814" />
</product>
</patches>
 
Back
Top