curl --request GET \
--url https://api.gcore.com/dns/v2/zones/{zoneName}/{rrsetName}/{rrsetType} \
--header 'Authorization: <api-key>'
{
"filter_set_id": 123,
"meta": {},
"name": "sub.example.com",
"pickers": [
{
"limit": 123,
"strict": true,
"type": "geodns"
}
],
"resource_records": [
{
"content": [
{}
],
"enabled": true,
"id": 42,
"meta": {}
}
],
"ttl": 123,
"type": "A",
"updated_at": "2023-11-07T05:31:56Z",
"warning": "<string>",
"warnings": [
{
"key": "<string>",
"message": "<string>"
}
]
}
Particular RRset item info
curl --request GET \
--url https://api.gcore.com/dns/v2/zones/{zoneName}/{rrsetName}/{rrsetType} \
--header 'Authorization: <api-key>'
{
"filter_set_id": 123,
"meta": {},
"name": "sub.example.com",
"pickers": [
{
"limit": 123,
"strict": true,
"type": "geodns"
}
],
"resource_records": [
{
"content": [
{}
],
"enabled": true,
"id": 42,
"meta": {}
}
],
"ttl": 123,
"type": "A",
"updated_at": "2023-11-07T05:31:56Z",
"warning": "<string>",
"warnings": [
{
"key": "<string>",
"message": "<string>"
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OutputRRSet
The response is of type object
.
Was this page helpful?