Add a DNS record
bunny_add_dns_recordWRITE. Add a record to a DNS zone. Takes effect on live DNS. bunny.net: PUT /dnszone/{zoneId}/records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag (CAA), e.g. 'issue'. | |
| ttl | No | TTL in seconds. | |
| name | Yes | Record name relative to the zone; empty string for the apex, e.g. 'www'. | |
| port | No | Port (SRV). | |
| type | Yes | Record type. | |
| flags | No | Flags (CAA). | |
| value | Yes | Record value, e.g. an IP for A, a hostname for CNAME, text for TXT. | |
| weight | No | Weight (SRV, weighted records). | |
| comment | No | Free-text note on the record. | |
| zone_id | Yes | The DNS Zone ID. | |
| disabled | No | Keep the record but stop serving it. | |
| priority | No | Priority (MX, SRV). | |
| accelerated | No | Route the record through the CDN (CDN acceleration). | |
| pull_zone_id | No | Pull Zone ID, for type PullZone. |