Thứ Ba, 15 tháng 6, 2021

How to change Priority and Weight values for SRV record on the Plesk server

 

Question

How to change "Priority" and "Weight" values for SRV record on the Plesk server?

Answer

Currently changing "Priority" and "Weight" values can be done via Command Line Interface (CLI) only.

In the example below described how to set the Priority to 100 and Weight to 1 for SRV record, change the command as per your needs.

  1. Connect to the server via SSH or RDP.

  2. Execute the following command:

    Note: For Plesk for Windows open cmd.exe as Administrator.

    plesk bin dns --add example.com -srv "" -srv-service sip -srv-target-host myserver.domain.tld. -srv-protocol tls -srv-port 5060 -srv-priority 100 -srv-weight 1

Share This!


Không có nhận xét nào:

Đăng nhận xét