curl --request GET \
--url https://api.bunny.net/dnszone/{id} \
--header 'AccessKey: <api-key>'{
"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 DNS Zone with the requested ID
curl --request GET \
--url https://api.bunny.net/dnszone/{id} \
--header 'AccessKey: <api-key>'{
"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
The ID of the DNS Zone that will be returned
The DNS Zone with the requested ID
Determines if the TLS 1 is enabled on the DNS Zone
Determines if DNSSEC is enabled for this DNS Zone
Show child attributes
Sets the log anonymization type for this zone
OneDigit, Drop "OneDigit"
The private key type to use for automatic certificates
Ecdsa, Rsa "Ecdsa"
Was this page helpful?