- Home
- API Enriched
- Dns
- config
- Import DNS Zone.
Import DNS Zone.
const 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_axfr';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"domain_name":"example","primary_server":"example","tsig_configuration":{"tsig_key_algorithm":"HMAC_MD5","tsig_key_name":"example","tsig_key_value":{"blindfold_secret_info":{"decryption_provider":"example","location":"example","store_provider":"example"},"clear_secret_info":{"provider":"example","url":"https://example.com"}}}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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_axfr \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "domain_name": "example", "primary_server": "example", "tsig_configuration": { "tsig_key_algorithm": "HMAC_MD5", "tsig_key_name": "example", "tsig_key_value": { "blindfold_secret_info": { "decryption_provider": "example", "location": "example", "store_provider": "example" }, "clear_secret_info": { "provider": "example", "url": "https://example.com" } } } }'Import DNS Zone via AXFR.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”DNS zone import via AXFR.
object
Name of the zone to be imported Required: YES.
Required: YES.
object
TSIG key name as used in TSIG protocol extension.
object
object
Name of the Secret Management Access object that contains information about the backend Secret Management service.
Location is the uri_ref. It could be in URL format for string:/// Or it could be a path if the store provider is an HTTP/HTTPS location Required: YES.
Name of the Secret Management Access object that contains information about the store to GET encrypted bytes This field needs to be provided only if the URL scheme is not string:///.
object
Name of the Secret Management Access object that contains information about the store to GET encrypted bytes This field needs to be provided only if the URL scheme is not string:///.
URL of the secret. Currently supported URL schemes is string:///. For string:/// scheme, Secret needs to be encoded Base64 format. When asked for this secret, caller will GET Secret bytes after Base64 decoding. Required: YES.
Responses
Section titled “Responses”A successful response.
Import AXFR Response.
object
object
Configuration parameter for admin
Option to allow user-created HTTP, TCP, and CDN load balancer related resource records to be automatically managed in a protected RRset.
Add and manage DNS resource record sets part of Default set group.
object
object
A Record name, please provide only the specific subdomain or record name without the base domain.
A valid IPv4 address, for example: 1.1.1.1 Required: YES.
object
AAAA Record name, please provide only the specific subdomain or record name without the base domain.
A valid IPv6 address, for example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Required: YES.
object
AFSDB Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Server name of the AFS cell database server or the DCE name server. Required: YES.
object
A valid domain name, for example: example.com.
object
CAA Record name, please provide only the specific subdomain or record name without the base domain.
Configuration parameter for values
object
This flag should be an integer between 0 and 255.
Tag for categorization and filtering
Configuration parameter for value
object
CDS Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
A short numeric value which can help quickly identify the referenced DNSKEY-record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
CERT Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Required: YES.
Certificate in base 64 format. Required: YES.
object
CName Record name, please provide only the specific subdomain or record name without the base domain. Required: YES.
Configuration parameter for value
Human-readable description text
object
DS Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
A short numeric value which can help quickly identify the referenced DNSKEY-record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
EUI48 Record name, please provide only the specific subdomain or record name without the base domain.
A valid eui48 identifier, for example: 01-23-45-67-89-ab Required: YES.
object
EUI64 Record name, please provide only the specific subdomain or record name without the base domain.
A valid EUI64 identifier, for example: 01-23-45-67-89-ab-cd-ef Required: YES.
object
Load Balancer record name (except for SRV DNS Load balancer record) should be a simple record name and not a subdomain of a subdomain.
object
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name. Required: YES.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant.
object
LOC Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Altitude in meters Required: YES.
Horizontal Precision in meters.
Latitude degree, an integer between 0 and 90, including 0 and 90 Required: YES.
Latitude minute, an integer between 0 and 59, including 0 and 59.
Latitude second, an decimal between 0 and 59.999, including 0 and 59.999.
Diameter of a sphere enclosing the described entity, in meters.
Longitude degree, an integer between 0 and 180, including 0 and 180 Required: YES.
Longitude minute, an integer between 0 and 59, including 0 and 59.
Longitude second, an decimal between 0 and 59.999, including 0 and 59.999.
Vertical Precision in meters.
object
MX Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Mail exchanger domain name, please provide the full hostname, for example: mail.example.com.
Mail exchanger priority code.
object
NAPTR Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Flag to control aspects of the rewriting and interpretation of the fields in the record. At this time only four flags, S/A/U/P, are defined. Required: YES.
Order in which the NAPTR records must be processed. A lower number indicates a higher preference. Required: YES.
Preference when records have the same order. A lower number indicates a higher preference. Required: YES.
Regular expression to construct the next domain name to lookup.
The next NAME to query for NAPTR, SRV, or address records depending on the value of the flags field.
Specifies the service(s) available down this rewrite path.
object
NS Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
PTR Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
SRV Record name, please provide only the specific subdomain or record name without the base domain. Required: YES.
Required: YES.
object
Port on which the service can be found.
Priority of the target. A lower number indicates a higher preference.
Hostname of the machine providing the service.
Weight of the target. A higher number indicates a higher preference.
object
SSHFP Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
object
The ‘fingerprint’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘fingerprint’ is the DS key and the actual contents of the DS record. Required: YES.
object
TLSA Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
The actual data to be matched given the settings of the other fields. Required: YES.
Time-to-live duration in seconds
object
TXT Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
object
object
object
Create and manage set groups, and resource record sets within them, x-VES-I/O-managed set is managed by F5.
object
object
Human readable description.
This is the name of the message. The value of name has to follow DNS-1035 format. Required: YES.
Collection of DNS resource record sets.
object
object
A Record name, please provide only the specific subdomain or record name without the base domain.
A valid IPv4 address, for example: 1.1.1.1 Required: YES.
object
AAAA Record name, please provide only the specific subdomain or record name without the base domain.
A valid IPv6 address, for example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Required: YES.
object
AFSDB Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Server name of the AFS cell database server or the DCE name server. Required: YES.
object
A valid domain name, for example: example.com.
object
CAA Record name, please provide only the specific subdomain or record name without the base domain.
Configuration parameter for values
object
This flag should be an integer between 0 and 255.
Tag for categorization and filtering
Configuration parameter for value
object
CDS Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
A short numeric value which can help quickly identify the referenced DNSKEY-record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
CERT Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Required: YES.
Certificate in base 64 format. Required: YES.
object
CName Record name, please provide only the specific subdomain or record name without the base domain. Required: YES.
Configuration parameter for value
Human-readable description text
object
DS Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
A short numeric value which can help quickly identify the referenced DNSKEY-record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘digest’ is the DS key and the actual contents of the DS record. Required: YES.
object
EUI48 Record name, please provide only the specific subdomain or record name without the base domain.
A valid eui48 identifier, for example: 01-23-45-67-89-ab Required: YES.
object
EUI64 Record name, please provide only the specific subdomain or record name without the base domain.
A valid EUI64 identifier, for example: 01-23-45-67-89-ab-cd-ef Required: YES.
object
Load Balancer record name (except for SRV DNS Load balancer record) should be a simple record name and not a subdomain of a subdomain.
object
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name. Required: YES.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace.
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant.
object
LOC Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Altitude in meters Required: YES.
Horizontal Precision in meters.
Latitude degree, an integer between 0 and 90, including 0 and 90 Required: YES.
Latitude minute, an integer between 0 and 59, including 0 and 59.
Latitude second, an decimal between 0 and 59.999, including 0 and 59.999.
Diameter of a sphere enclosing the described entity, in meters.
Longitude degree, an integer between 0 and 180, including 0 and 180 Required: YES.
Longitude minute, an integer between 0 and 59, including 0 and 59.
Longitude second, an decimal between 0 and 59.999, including 0 and 59.999.
Vertical Precision in meters.
object
MX Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Mail exchanger domain name, please provide the full hostname, for example: mail.example.com.
Mail exchanger priority code.
object
NAPTR Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
Flag to control aspects of the rewriting and interpretation of the fields in the record. At this time only four flags, S/A/U/P, are defined. Required: YES.
Order in which the NAPTR records must be processed. A lower number indicates a higher preference. Required: YES.
Preference when records have the same order. A lower number indicates a higher preference. Required: YES.
Regular expression to construct the next domain name to lookup.
The next NAME to query for NAPTR, SRV, or address records depending on the value of the flags field.
Specifies the service(s) available down this rewrite path.
object
NS Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
PTR Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
SRV Record name, please provide only the specific subdomain or record name without the base domain. Required: YES.
Required: YES.
object
Port on which the service can be found.
Priority of the target. A lower number indicates a higher preference.
Hostname of the machine providing the service.
Weight of the target. A higher number indicates a higher preference.
object
SSHFP Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
object
The ‘fingerprint’ is the DS key and the actual contents of the DS record. Required: YES.
object
The ‘fingerprint’ is the DS key and the actual contents of the DS record. Required: YES.
object
TLSA Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
object
The actual data to be matched given the settings of the other fields. Required: YES.
Time-to-live duration in seconds
object
TXT Record name, please provide only the specific subdomain or record name without the base domain.
Required: YES.
Secondary nameservers should initiate a zone transfer when this number is incremented.
object
Expire value indicates when secondary nameservers should stop answering request for this zone if primary does not respond.
Negative TTL value indicates how long to cache non-existent resource record for this zone.
Refresh value indicates when secondary nameservers should query for the SOA record to detect zone changes.
Retry value indicates when secondary nameservers should retry to request the serial number if primary does not respond.
SOA record time to live (in seconds)
Example
{ "configuration": { "default_rr_set_group": [ { "afsdb_record": { "values": [ { "subtype": "NONE" } ] }, "cds_record": { "values": [ { "ds_key_algorithm": "UNSPECIFIED" } ] }, "cert_record": { "values": [ { "algorithm": "RESERVEDALGORITHM", "cert_type": "INVALIDCERTTYPE" } ] }, "ds_record": { "values": [ { "ds_key_algorithm": "UNSPECIFIED" } ] }, "loc_record": { "values": [ { "latitude_hemisphere": "N", "longitude_hemisphere": "E" } ] }, "sshfp_record": { "values": [ { "algorithm": "UNSPECIFIEDALGORITHM" } ] }, "tlsa_record": { "values": [ { "certificate_usage": "CertificateAuthorityConstraint", "matching_type": "NoHash", "selector": "FullCertificate" } ] } } ], "rr_set_group": [ { "rr_set": [ { "afsdb_record": { "values": [ { "subtype": "NONE" } ] }, "cds_record": { "values": [ { "ds_key_algorithm": "UNSPECIFIED" } ] }, "cert_record": { "values": [ { "algorithm": "RESERVEDALGORITHM", "cert_type": "INVALIDCERTTYPE" } ] }, "ds_record": { "values": [ { "ds_key_algorithm": "UNSPECIFIED" } ] }, "loc_record": { "values": [ { "latitude_hemisphere": "N", "longitude_hemisphere": "E" } ] }, "sshfp_record": { "values": [ { "algorithm": "UNSPECIFIEDALGORITHM" } ] }, "tlsa_record": { "values": [ { "certificate_usage": "CertificateAuthorityConstraint", "matching_type": "NoHash", "selector": "FullCertificate" } ] } } ] } ] }}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example