#sdk #zone #hetzner #record #server

bin+lib hetzner

A Rust library for managing DNS records and zones on Hetzner's platform, providing tools for networking and DNS management

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 11, 2025

#7 in #zone

MIT license

32KB
456 lines

Hetzner DNS API Rust SDK

Hetzner API Coverage

zones

  • GetAllZones: Retrieve a list of all DNS zones associated with your account.
  • CreateZone: Create a new DNS zone.
  • GetZone: Retrieve detailed information about a specific DNS zone.
  • UpdateZone: Update the settings of an existing DNS zone.
  • DeleteZone: Delete a DNS zone.
  • ImportZoneFilePlain: Import a DNS zone file in plain text format.
  • ExportZoneFile: Export a DNS zone file.
  • ValidateZoneFilePlain: Validate a DNS zone file in plain text format.

records

  • GetAllRecords: Retrieve a list of all DNS records within a zone.
  • CreateRecord: Create a new DNS record within a zone.
  • GetRecord: Retrieve detailed information about a specific DNS record.
  • UpdateRecord: Update an existing DNS record.
  • DeleteRecord: Delete a DNS record.
  • BulkCreateRecords: Create multiple DNS records in bulk.
  • BulkUpdateRecords: Update multiple DNS records in bulk.

primary servers

  • GetAllPrimaryServers: Retrieve a list of all primary DNS servers.
  • CreatePrimaryServer: Create a new primary DNS server.
  • GetPrimaryServer: Retrieve detailed information about a specific primary DNS server.
  • UpdatePrimaryServer: Update the settings of an existing primary DNS server.
  • DeletePrimaryServer: Delete a primary DNS server.

Dependencies

~13–26MB
~363K SLoC