Configure dns check
Informs what DNS servers to use for checking external DNS records validity.
Request body
The configuration changes.
A collection of IP addresses for DNS servers used in checking DNS. If empty, local system configuration will be used.
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.
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.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Forbidden request.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}