Skip to main content
Server path: /bunnycdn-dns | Type: Application | PCID required: Yes

Tools

ToolDescription
bunnycdn_dns_get_zone_statistics_endpoint_statisticsGet DNS Query Statistics
bunnycdn_dns_manage_dns_zone_dns_sec_endpoint_disable_dns_sec_dns_zoneDisable DNSSEC on a DNS Zone
bunnycdn_dns_manage_dns_zone_dns_sec_endpoint_enable_dns_sec_dns_zoneEnable DNSSEC on a DNS Zone
bunnycdn_dns_trigger_dns_zone_record_scan_endpoint_get_latest_scanGet the latest DNS record scan result for a DNS Zone
bunnycdn_dns_trigger_dns_zone_record_scan_endpoint_trigger_scanTrigger a background scan for pre-existing DNS records. Can use ZoneId for existing zones or Domain for pre-zone creation scenarios.
bunnycdn_dns_zone_public_addAdd DNS Zone
bunnycdn_dns_zone_public_add_recordAdd DNS Record
bunnycdn_dns_zone_public_check_availabilityCheck the DNS zone availability
bunnycdn_dns_zone_public_deleteDelete DNS Zone
bunnycdn_dns_zone_public_delete_recordDelete DNS Record
bunnycdn_dns_zone_public_exportGET /dnszone/{id}/export
bunnycdn_dns_zone_public_importImport DNS Records
bunnycdn_dns_zone_public_indexList DNS Zones
bunnycdn_dns_zone_public_index2Get DNS Zone
bunnycdn_dns_zone_public_issue_wildcard_certificateIssue new wildcard certificate
bunnycdn_dns_zone_public_updateUpdate DNS Zones
bunnycdn_dns_zone_public_update_recordUpdate DNS Record

bunnycdn_dns_get_zone_statistics_endpoint_statistics

Get DNS Query Statistics Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the DNS Zone for which the statistics will be returned
dateFromstringNo(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned
dateTostringNo(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned

bunnycdn_dns_manage_dns_zone_dns_sec_endpoint_disable_dns_sec_dns_zone

Disable DNSSEC on a DNS Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the DNS Zone for which DNSSEC will be disabled

bunnycdn_dns_manage_dns_zone_dns_sec_endpoint_enable_dns_sec_dns_zone

Enable DNSSEC on a DNS Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the DNS Zone for which DNSSEC will be enabled

bunnycdn_dns_trigger_dns_zone_record_scan_endpoint_get_latest_scan

Get the latest DNS record scan result for a DNS Zone Parameters:
ParameterTypeRequiredDefaultDescription
zoneIdintegerYesThe DNS Zone ID

bunnycdn_dns_trigger_dns_zone_record_scan_endpoint_trigger_scan

Trigger a background scan for pre-existing DNS records. Can use ZoneId for existing zones or Domain for pre-zone creation scenarios. Parameters:
ParameterTypeRequiredDefaultDescription
DomainstringNoThe domain name to scan. Either ZoneId or Domain must be provided, but not both. Can be used even before creating the DNS zone.
ZoneIdintegerNoThe ID of the DNS Zone to scan. Either ZoneId or Domain must be provided, but not both.

bunnycdn_dns_zone_public_add

Add DNS Zone Parameters:
ParameterTypeRequiredDefaultDescription
DomainstringYesThe domain that will be added.
Recordsobject[]NoOptional array of DNS records to add when creating the zone.

bunnycdn_dns_zone_public_add_record

Add DNS Record Parameters:
ParameterTypeRequiredDefaultDescription
zoneIdintegerYesThe DNS Zone ID to which the record will be added.
AcceleratedbooleanNoThe accelerated value
AutoSslIssuancebooleanNoAuto Ssl Issuance
CommentstringNoThe comment value
DisabledbooleanNoThe disabled value
EnviromentalVariablesobject[]NoEnviromental Variables
FlagsintegerNoThe flags value
GeolocationLatitudenumberNoGeolocation Latitude
GeolocationLongitudenumberNoGeolocation Longitude
LatencyZonestringNoLatency Zone
MonitorTypeintegerNo0 = None 1 = Ping 2 = Http 3 = Monitor
NamestringNoThe name value
PortintegerNoThe port value
PriorityintegerNoThe priority value
PullZoneIdintegerNoPull Zone Id
ScriptIdintegerNoScript Id
SmartRoutingTypeintegerNo0 = None 1 = Latency 2 = Geolocation
TagstringNoThe tag value
TtlintegerNoThe ttl value
TypeintegerNo0 = A 1 = AAAA 2 = CNAME 3 = TXT 4 = MX 5 = Redirect 6 = Flatten 7 = PullZone 8 = SRV 9 = CAA 10 = PTR 11 = Script 12 = NS 13 = SVCB 14 = HTTPS 15 = TLSA
ValuestringNoThe value value
WeightintegerNoThe weight value

bunnycdn_dns_zone_public_check_availability

Check the DNS zone availability Parameters:
ParameterTypeRequiredDefaultDescription
NamestringNoDetermines the name of the zone that we are checking

bunnycdn_dns_zone_public_delete

Delete DNS Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe DNS Zone ID that will be deleted.

bunnycdn_dns_zone_public_delete_record

Delete DNS Record Parameters:
ParameterTypeRequiredDefaultDescription
zoneIdintegerYesThe DNS Zone ID that contains the record.
idintegerYesThe ID of the DNS record that will be deleted.

bunnycdn_dns_zone_public_export

GET /dnszone/{id}/export Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe id value

bunnycdn_dns_zone_public_import

Import DNS Records Parameters:
ParameterTypeRequiredDefaultDescription
zoneIdintegerYesThe DNS Zone ID that should import the data.

bunnycdn_dns_zone_public_index

List DNS Zones Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoPage number for pagination
perPageintegerNoNumber of results per page
searchstringNoThe search term that will be used to filter the results

bunnycdn_dns_zone_public_index2

Get DNS Zone Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the DNS Zone that will be returned

bunnycdn_dns_zone_public_issue_wildcard_certificate

Issue new wildcard certificate Parameters:
ParameterTypeRequiredDefaultDescription
zoneIdintegerYesThe DNS Zone ID requiring a new certificate.
DomainstringNoThe domain value

bunnycdn_dns_zone_public_update

Update DNS Zones Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the DNS Zone that will be updated
CertificateKeyTypeintegerNoSets the certificate private key type for wildcard certificates for this zone
CustomNameserversEnabledbooleanNoCustom Nameservers Enabled
LogAnonymizationTypeintegerNoGets the log anonymization type for this zone
LoggingEnabledbooleanNoLogging Enabled
LoggingIPAnonymizationEnabledbooleanNoDetermines if the log anonoymization should be enabled
Nameserver1stringNoThe nameserver1 value
Nameserver2stringNoThe nameserver2 value
SoaEmailstringNoSoa Email

bunnycdn_dns_zone_public_update_record

Update DNS Record Parameters:
ParameterTypeRequiredDefaultDescription
zoneIdintegerYesThe DNS Zone ID that contains the record.
idintegerYesThe ID of the DNS record that will be updated.
AcceleratedbooleanNoThe accelerated value
AutoSslIssuancebooleanNoAuto Ssl Issuance
CommentstringNoThe comment value
DisabledbooleanNoThe disabled value
EnviromentalVariablesobject[]NoEnviromental Variables
FlagsintegerNoThe flags value
GeolocationLatitudenumberNoGeolocation Latitude
GeolocationLongitudenumberNoGeolocation Longitude
IdintegerNoThe id value
LatencyZonestringNoLatency Zone
MonitorTypeintegerNo0 = None 1 = Ping 2 = Http 3 = Monitor
NamestringNoThe name value
PortintegerNoThe port value
PriorityintegerNoThe priority value
PullZoneIdintegerNoPull Zone Id
ScriptIdintegerNoScript Id
SmartRoutingTypeintegerNo0 = None 1 = Latency 2 = Geolocation
TagstringNoThe tag value
TtlintegerNoThe ttl value
TypeintegerNo0 = A 1 = AAAA 2 = CNAME 3 = TXT 4 = MX 5 = Redirect 6 = Flatten 7 = PullZone 8 = SRV 9 = CAA 10 = PTR 11 = Script 12 = NS 13 = SVCB 14 = HTTPS 15 = TLSA
ValuestringNoThe value value
WeightintegerNoThe weight value