getdnssrvrecResult Structure Definition

The getdnssrvrecResult structure defines the return type for getdnssrvrec API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

dnssrvrecList

List of dnssrvrecs


dnssrvrec Structure Definition

The dnssrvrec structure defines the actual return type values for getdnssrvrec API.

Syntax



Members

domain

Domain name for which to display the SRV record.

target

Target host for the specified service.

type

Type of records to display.

priority

Priority of the target host. This helps in server selection by the client.

weight

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

port

Port on which the target host listens for client requests.

ttl

Time to Live (TTL), in seconds, for the record. TTL is the time for which the record must be cached by DNS proxies. The specified TTL is applied to all the resource records that are of the same record type and belong to the specified domain name. For example, if you add an address record, with a TTL of 36000, to the domain name example.com, the TTLs of all the address records of example.com are changed to 36000. If the TTL is not specified, the Citrix ADC uses either the DNS zone's minimum TTL or, if the SOA record is not available on the appliance, the default value of 3600.

authtype

Record type.

_nextgenapiresource


See Also