According to /opt/psa/bin/server_dns -h:
I tried this exact example:
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:
It looks like the 'cu_dns_command-description_sync' is a placeholder that is not replaced by the proper help text.
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: