Resources | addressContext | dnsGroup | query

query

Performs the DNS query to the external server.

Input Params

NameMandatoryDefaultDescription
dnsServerO DNS Server to be used to perform lookup.
fqdnM Enter domain to be looked up
recordTypeM Specifies whether to use the DNS server for just A-record lookups, or for full NAPTR/SRV/A lookup as specified in RFC3263

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}/query --data '
<query>
     <fqdn>{fqdn}</fqdn>
     <recordType>{recordType}</recordType>
</query>
'

  • No labels