• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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