Home > Configuration > Domain Name Service > setdnssrvrec_weight

setdnssrvrec_weight

Use this method to set weight for the target host. Aids host selection when two or more hosts have the same priority. A larger number indicates greater weight.

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.

weight

Weight for the target host. Aids host selection when two or more hosts have the same priority. A larger number indicates greater weight.
Maximum value = 65535.

Return Value

Returns simpleResult

See Also