[PR #1046] add hetznernetworking provider #942

Open
opened 2025-11-20 04:26:37 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/qdm12/ddns-updater/pull/1046

State: open
Merged: No


Add Hetzner Networking DNS Provider

Overview

Adds support for the new Hetzner Cloud DNS API with the hetznernetworking provider. This is a separate provider from the existing hetzner provider, offering modern RRSet-based operations and wildcard domain support.

Features

  • Wildcard domain support (*.example.com)
  • Bearer token authentication
  • RRSet-based API operations
  • IPv4/IPv6 support
  • Configurable TTL

Configuration

{
  "settings": [
    {
      "provider": "hetznernetworking",
      "zone_identifier": "example.com",
      "domain": "sub.example.com",
      "token": "your-api-token",
      "ttl": 600,
      "ip_version": "ipv4"
    }
  ]
}

API Endpoints

  • GET /v1/zones/{zone}/rrsets/{name}/{type} - Get records
  • POST /v1/zones/{zone}/rrsets/{name}/{type}/actions/add_records - Create records
  • POST /v1/zones/{zone}/rrsets/{name}/{type}/actions/set_records - Update records

Testing

  • Compiles without errors
  • Wildcard domains working
  • API integration verified

Breaking Changes

None - purely additive change. Legacy hetzner provider remains unchanged.

Documentation

**Original Pull Request:** https://github.com/qdm12/ddns-updater/pull/1046 **State:** open **Merged:** No --- # Add Hetzner Networking DNS Provider ## Overview Adds support for the new Hetzner Cloud DNS API with the `hetznernetworking` provider. This is a separate provider from the existing `hetzner` provider, offering modern RRSet-based operations and wildcard domain support. ## Features - Wildcard domain support (`*.example.com`) - Bearer token authentication - RRSet-based API operations - IPv4/IPv6 support - Configurable TTL ## Configuration ```json { "settings": [ { "provider": "hetznernetworking", "zone_identifier": "example.com", "domain": "sub.example.com", "token": "your-api-token", "ttl": 600, "ip_version": "ipv4" } ] } ``` ## API Endpoints - `GET /v1/zones/{zone}/rrsets/{name}/{type}` - Get records - `POST /v1/zones/{zone}/rrsets/{name}/{type}/actions/add_records` - Create records - `POST /v1/zones/{zone}/rrsets/{name}/{type}/actions/set_records` - Update records ## Testing - Compiles without errors - Wildcard domains working - API integration verified ## Breaking Changes None - purely additive change. Legacy `hetzner` provider remains unchanged. ## Documentation - Added `docs/hetznernetworking.md` - References: [Hetzner Cloud DNS API](https://docs.hetzner.cloud/reference/cloud#dns)
saavagebueno added the pull-request label 2025-11-20 04:26:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#942