Login

Get list of records to which failover records can be added

HTTP method

GET

URL

https://api.zilore.com/dns/v1/domains/{domain_name}/failovers/available

Request parameters

Parameter

Description

domain_name

Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format.

Response fields

Parameter

Description

record_id

Record identifier

record_name

Name of record in Unicode format

record_type

Record type:

  • A — Establishes correspondence between a domain name/subdomain and its IPv4 address

record_value

Record value in Unicode format

record_ttl

Maximum permitted time for record to be cached

geo_region

GEO-identifier of the record

geo_full_region

Full name of GEO region

failover_check_types

Acceptable types of verification

failover_check_interval

Acceptable verification intervals

failover_fws_available

Is FWS set up for this domain name (true|false)

Request example

GET https://api.zilore.com/dns/v1/domains/example.com/failovers/available
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0

Response example

{
"status": "ok",
"response": {
"failover_records": [{
"record_id": "65490",
"record_name": "foo.example.com",
"record_type": "A",
"record_value": "1.1.1.1",
"record_ttl": "60",
"geo_region": null,
"geo_full_region": ""
}, {
"record_id": "65491",
"record_name": "test.example.com",
"record_type": "A",
"record_value": "1.1.1.1",
"record_ttl": "3600",
"geo_region": null,
"geo_full_region": ""
}],
"failover_check_types": ["PING", "HTTP", "HTTPS", "TCP"],
"failover_check_interval": [60, 300],
"failover_fws_available": true
}
}