Resources | addressContext | dnsGroup

dnsGroup

Default DNS Server Group for this zone.

Exists on Condition /system/sbcPersonality/role !='slb'

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The name of this DNS Group.
typeOenumerationnone Type of IP interfaces to be used for this DNS Group.
transportOenumerationudp Transport protocol used to communicate with DNS Servers.
ipInterfaceOreference IP Interface group name when using packet interfaces.
mgmtInterfaceOreference MGMT Interface group name when using management interfaces.
useConfiguredDnsServerOenumerationdisabled If enabled, always use the configured DNS server when resolving domain names that does not exist in local cache.
ednsSupportOenumerationdisabled Whether EDNS needs to be supported for the DNS servers.
rcodeErrorMonitorTimerOuint160 Monitor Timer value in minutes for Rcode Error Alarm. Enter value in the range of (0..60).
dnsFallbackOenumerationenabled To fallback to dns query incase of edns failure response from DNS server .
negativeDnsCacheSupportOenumerationenabled To Support DNS Negative caching for Records in DNS Client and DNS Agent.
negativeDnsCacheTimerOuint1660 Negative Cache Timer value in sec . Enter value in the range of (10 ..300) .
dnslookupTimeoutTimerOuint1610 Dns lookup timeout for agent query in sec . Enter value in the range of (10 ..300) .
serverO The DNS servers for this address context.
localRecordO Local DNS Resource Records.

Operational Data

ParameterDescription
dnsServerStatistics The DNS server statistics for this address context.
dnsEntryStatus The DNS entry record status.
dnsEntryDataStatus The DNS entry data status.

Operations

Operation NameDescription
dnsServerReset Use to reset all the DNS server statistics.
clearCache Clear the cache of matching Record.
query Performs the DNS query to the server
updateTtl Updates the Cache of the matching record with the new TTL value.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusDns:dnsGroup={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} --data '
<dnsGroup>
     <name>{name}</name>
</dnsGroup>
'

RESTCONF API: DELETE Example

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

  • No labels