feat: support the new DNS API by jooola · Pull Request #1182 · hetznercloud/cli

apricote

apricote pushed a commit that referenced this pull request

Oct 7, 2025
<!-- section-start changelog -->
### DNS API Beta

This release adds support for the new [DNS
API](https://docs.hetzner.cloud/reference/cloud#dns).

The DNS API is currently in **beta**, which will likely end on 10
November 2025. After the beta ended, it will no longer be possible to
create new zones in the old DNS system. See the [DNS Beta
FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details.

Future minor releases of this project may include breaking changes for
features that are related to the DNS API.

See the [DNS API Beta
changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for
more details.

**Examples**

```sh
hcloud zone create \
    --name example.com \
    --mode primary \
    --label key=value

hcloud zone rrset create example.com \
    --name @ \
    --type A \
    --record 201.180.75.2
```

### Features

- support the new DNS API (#1182)

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

If you want to modify the proposed release, add you overrides here. You
can learn more about the options in the docs.

## Release Notes

### Prefix / Start

This will be added to the start of the release notes.

~~~~rp-prefix
### DNS API Beta

This release adds support for the new [DNS
API](https://docs.hetzner.cloud/reference/cloud#dns).

The DNS API is currently in **beta**, which will likely end on 10
November 2025. After the beta ended, it will no longer be possible to
create new zones in the old DNS system. See the [DNS Beta
FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details.

Future minor releases of this project may include breaking changes for
features that are related to the DNS API.

See the [DNS API Beta
changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for
more details.

**Examples**

```sh
hcloud zone create \
    --name example.com \
    --mode primary \
    --label key=value

hcloud zone rrset create example.com \
    --name @ \
    --type A \
    --record 201.180.75.2
```
~~~~

### Suffix / End

This will be added to the end of the release notes.

~~~~rp-suffix
~~~~

</details>

Co-authored-by: Hetzner Cloud Bot <>