Resources | addressContext | dnsGroup | updateTtl

updateTtl

Updates the Cache of the matching record.

Input Params

NameMandatoryDefaultDescription
fqdnM Fqdn to be updated from the Cache.
recordTypeM Specifies whether to use the DNS server for just A-record lookups, or for full NAPTR/SRV/A lookup as specified in RFC3263
ttlM Enter new TTL value.

Output Params

NameDescription
result
reason
RESTCONF API: POST Example

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

  • No labels