Resources | addressContext | dnsGroup | server

server

The DNS server to be configured within the DNS group.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The name of this DNS server.
stateOenumerationdisabled Administrative state for this DNS server.
recursionDesiredObooleantrue Whether recursion is desired for this DNS Server.
ipAddressMip-address IP Address of this DNS Server.
transportProtocolOenumerationudp Transport protocol used to communicate with DNS server.
tcpFallbackOenumerationdisabled Whether TCP Fallback needs to be supported.
priorityOuint160 Priority of this DNS Server.
weightOuint160 Load-sharing weight of this DNS Server.
recordOrderOenumerationpriority Defines recordOrder, default is priority based, other options are centralized or decentralized roundrobin. Distributed RR is our default roundrobin and is suggested configuration if RR is required. Centralized RR is implemented if customer wants every other call to go to another record entry.
dscpValueOuint160 DSCP value (0-63) for packets sent to this DNS Server.
RESTCONF API: GET Example

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

RESTCONF API: DELETE Example

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

  • No labels