You can call this operation to query the DNS settings of a Smart Access Gateway (SAG) instance associated with SAG APP.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DescribeClientUserDNS

The operation that you want to perform.

Set the value to DescribeClientUserDNS.

RegionId String Yes cn-shanghai

The ID of the region where SAG APP is deployed.

SmartAGId String Yes sag-9uyg53s6juhpxv****

The ID of the SAG instance that is associated with SAG APP.

Response parameters

Parameter Type Example Description
AppDNS List 100.XX.XX.100

The active and standby DNS servers that the SAG instance uses to connect to the private network.

RecoveredDNS List 110.XX.XX.110

The active and standby DNS servers that the SAG instance uses to disconnect from the private network.

Note This feature will be available soon.
RequestId String 894AA8BD-0627-45B1-AA18-9CE1D50DA9D0

The ID of the request.


Sample requests:

http(s)://[Endpoint]/? Action=DescribeClientUserDNS
&<Common request parameters>

Sample success responses

XML format


JSON format

	"AppDNS": [
	"RequestId": "894AA8BD-0627-45B1-AA18-9CE1D50DA9D0"

Error codes

HttpCode Error code Error message Description
400 SAG.InstanceNoFound The specified SAG instance does not exist. The error message returned because the specified SAG instance does not exist.

For a list of error codes, visit the API Error Center.