curl --request GET \
--url https://api.bunny.net/dnszone \
--header 'AccessKey: <api-key>'{
"CurrentPage": 123,
"TotalItems": 123,
"HasMoreItems": true,
"Items": [
{
"Id": 123,
"DateModified": "2023-11-07T05:31:56Z",
"DateCreated": "2023-11-07T05:31:56Z",
"NameserversDetected": true,
"CustomNameserversEnabled": true,
"NameserversNextCheck": "2023-11-07T05:31:56Z",
"LoggingEnabled": true,
"LoggingIPAnonymizationEnabled": true,
"DnsSecEnabled": true,
"Domain": "<string>",
"Records": [
{
"Id": 123,
"Ttl": 123,
"Weight": 123,
"Priority": 123,
"Port": 123,
"Accelerated": true,
"AcceleratedPullZoneId": 123,
"GeolocationLatitude": 123,
"GeolocationLongitude": 123,
"Disabled": true,
"AutoSslIssuance": true,
"Type": "A",
"Value": "<string>",
"Name": "<string>",
"Flags": 127,
"Tag": "<string>",
"LinkName": "<string>",
"IPGeoLocationInfo": {
"ASN": 123,
"CountryCode": "<string>",
"Country": "<string>",
"OrganizationName": "<string>",
"City": "<string>"
},
"GeolocationInfo": {
"Latitude": 123,
"Longitude": 123,
"Country": "<string>",
"City": "<string>"
},
"MonitorStatus": "Unknown",
"MonitorType": "None",
"EnviromentalVariables": [
{
"Name": "<string>",
"Value": "<string>"
}
],
"LatencyZone": "<string>",
"SmartRoutingType": "None",
"Comment": "<string>"
}
],
"Nameserver1": "<string>",
"Nameserver2": "<string>",
"SoaEmail": "<string>",
"LogAnonymizationType": "OneDigit",
"CertificateKeyType": "Ecdsa"
}
]
}The list of DNS Zones on the account.
curl --request GET \
--url https://api.bunny.net/dnszone \
--header 'AccessKey: <api-key>'{
"CurrentPage": 123,
"TotalItems": 123,
"HasMoreItems": true,
"Items": [
{
"Id": 123,
"DateModified": "2023-11-07T05:31:56Z",
"DateCreated": "2023-11-07T05:31:56Z",
"NameserversDetected": true,
"CustomNameserversEnabled": true,
"NameserversNextCheck": "2023-11-07T05:31:56Z",
"LoggingEnabled": true,
"LoggingIPAnonymizationEnabled": true,
"DnsSecEnabled": true,
"Domain": "<string>",
"Records": [
{
"Id": 123,
"Ttl": 123,
"Weight": 123,
"Priority": 123,
"Port": 123,
"Accelerated": true,
"AcceleratedPullZoneId": 123,
"GeolocationLatitude": 123,
"GeolocationLongitude": 123,
"Disabled": true,
"AutoSslIssuance": true,
"Type": "A",
"Value": "<string>",
"Name": "<string>",
"Flags": 127,
"Tag": "<string>",
"LinkName": "<string>",
"IPGeoLocationInfo": {
"ASN": 123,
"CountryCode": "<string>",
"Country": "<string>",
"OrganizationName": "<string>",
"City": "<string>"
},
"GeolocationInfo": {
"Latitude": 123,
"Longitude": 123,
"Country": "<string>",
"City": "<string>"
},
"MonitorStatus": "Unknown",
"MonitorType": "None",
"EnviromentalVariables": [
{
"Name": "<string>",
"Value": "<string>"
}
],
"LatencyZone": "<string>",
"SmartRoutingType": "None",
"Comment": "<string>"
}
],
"Nameserver1": "<string>",
"Nameserver2": "<string>",
"SoaEmail": "<string>",
"LogAnonymizationType": "OneDigit",
"CertificateKeyType": "Ecdsa"
}
]
}API Access Key authorization header
5 <= x <= 1000The search term that will be used to filter the results
Was this page helpful?