Resources | addressContext | dnsGroup | localRecord
localRecordThe local DNS resource record name. |
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
name | M | string | The name of this local DNS record. | ||
hostName | M | string | The host name of this local name service record. | ||
state | O | enumeration | enabled | The administrative state of this local name service record. A disabled record will be skipped in queries. | |
order | O | enumeration | priority | The 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. | |
data | O | 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 ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={name}/localRecord={name} |