Skip to content

v2.8.0

Choose a tag to compare

@hcloud-bot hcloud-bot released this 07 Oct 08:19
36670bd

DNS API Beta

This release adds support for the new DNS API.

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 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 for more details.

Examples

resp = client.zones.create(
    name="example.com",
    mode="primary",
    labels={"key": "value"},
    rrsets=[
        ZoneRRSet(
            name="@",
            type="A",
            records=[
                ZoneRecord(value="201.180.75.2", comment="server1")
            ],
        )
    ],
)

resp.action.wait_until_finished()
zone = resp.zone

Features

  • add new ip_range param to load balancer attach_to_network (#562)
  • add new ip_range param to server attach_to_network (#561)
  • support the new DNS API (#568)

Bug Fixes

  • source_ips property is optional in firewall rule (#567)