Resources | addressContext | dnsGroup | localRecord | data

data

The DNS record index number for this DNS record.

Configuration

ParameterPresenceTypeDefaultDescription
indexMuint32 The unique index of this local name service record data entry.
typeOenumerationa Local name service record data type.
priorityOuint160 Local name service record data priority.
ipAddressMip-address Local name service record data IP Address.
stateOenumerationenabled The administrative state of this local name service record data. A disabled record will be skipped in queries.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name}/data={index}

RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name} --data '
<data>
     <index>{index}</index>
     <ipAddress>{ipAddress}</ipAddress>
</data>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name}/data={index}

  • No labels