Resources | addressContext | dnsGroup | localRecord


localRecord

The local DNS resource record name.


Configuration


ParameterPresenceTypeDefaultDescription
nameMstring
The name of this local DNS record.
hostNameMstring
The host name of this local name service record.
stateOenumerationenabledThe administrative state of this local name service record. A disabled record will be skipped in queries.
orderOenumerationpriorityThe lookup order of this local name service record. If set to priority (default), the lookup order will be according to the record entries' priority assignment. If set to round robin, the lookup will be in a round robin fashion.
dataO

The DNS record data for this local DNS record.
RESTCONF API: GET Example

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

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} --data '
<localRecord>
     <name>{name}</name>
     <hostName>{hostName}</hostName>
</localRecord>
'

RESTCONF API: DELETE Example

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

  • No labels