Skip to content

Validate BIND Files.

POST
/api/config/dns/namespaces/system/dns_zone/import_bind_validate
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/config/dns/namespaces/system/dns_zone/import_bind_validate \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "description": "example", "file": "example" }'

Validate BIND Files for Import.

Examples of this operation.

Media typeapplication/json
Import BIND Validate Request
object
description
Description

Optional description about zone, import method, etc.

string
>= 21 characters <= 1024 characters
file
BIND Zip File

Required: YES.

string format: byte
<= 2097152 <= 1024 characters
Examplegenerated
{
"description": "example",
"file": "example"
}

A successful response.

Media typeapplication/json
Import BIND Response
object
invalid_zone_list
Invalid Zone List

Zones that we failed to parse. On submission, objects will not be created for any detected zone in this list.

Array<object>
Invalid Zone
object
validation_error
Validation Error

Configuration parameter for validation error

string
<= 1024 characters
zone_name
Zone Name

Human-readable name for the resource

string
<= 1024 characters
success_created_zone_count
Success Created Zone Count

Number of items or occurrences

integer format: int64
valid_zone_list
Valid Zone List

Zones that we parsed succcessfully. On submission, objects will be created for every zone in this list.

Array<object>
Valid Zone
object
record_count
Record Count

Number of items or occurrences

integer format: int64
zone_name
Zone Name

Human-readable name for the resource

string
<= 1024 characters
Examplegenerated
{
"invalid_zone_list": [
{
"validation_error": "example",
"zone_name": "example"
}
],
"success_created_zone_count": 1,
"valid_zone_list": [
{
"record_count": 1,
"zone_name": "example"
}
]
}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example