Home > Configuration > Domain Name Service > setdnssrvrec_priority

setdnssrvrec_priority

Use this method to set integer specifying the priority of the target host. The lower the number, the higher the priority. If multiple target hosts have the same priority, selection is based on the Weight parameter.

Syntax



Parameters

domain

Name of the SRV record to be modified.
This is mandatory parameter.

target

Target of the SRV record to be modified.
This is mandatory parameter.

priority

Integer specifying the priority of the target host. The lower the number, the higher the priority. If multiple target hosts have the same priority, selection is based on the Weight parameter.
Maximum value = 65535.

Return Value

Returns simpleResult

See Also