Configure dns check
Informs what DNS servers to use for checking external DNS records validity.
Request body
The configuration changes.
| 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. | |
Request Examples
{
"builtInDnsServer": false,
"dnsServers": [
"8.8.8.8",
"8.8.4.4",
"1.1.1.1"
],
"dnsCheckAcknowledged": true
}Responses
Changes successfully saved.
Invalid request.
| 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."
}
}Forbidden request.
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."
}
}