Return settings used when performing the DNS check.
Returns servers queried to check DNS configuration correctness.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getDnsCheckConfiguration --host https://$HOST:9443Responses
The DNS check results.
| Property | Type & Description |
|---|---|
dnsServers array of strings A collection of IP addresses for DNS servers used in checking DNS. If empty, local system configuration will be used. | |
builtInDnsServer boolean If true, DNS check will verify that control of DNS zone for Onezone's domain was delegated to the DNS server built into Onezone service. This option is available only in Onezone service. | |
dnsCheckAcknowledged boolean Flag indicating that user completed the DNS check step during interactive deployment. | |
Example
{
"builtInDnsServer": false,
"dnsServers": [
"8.8.8.8",
"8.8.4.4",
"1.1.1.1"
],
"dnsCheckAcknowledged": true
}Unauthorized request.
Forbidden request.
Cluster not yet deployed.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}