Library for working with Hetzner DNS API
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Vladimir Smagin f768ffe03f Изменить 'types.go' 2 mesi fa
example prepare for tests 5 mesi fa readme 5 mesi fa
go.mod release 0.1 5 mesi fa
go.sum release 0.1 5 mesi fa
hcloud-dns.go prepare for tests 5 mesi fa readme 5 mesi fa
records.go make adapter 5 mesi fa
types.go Изменить 'types.go' 2 mesi fa
types_complex.go Add zone validation 5 mesi fa
zones.go remove log 5 mesi fa

Hetzner DNS golang library

I made this library to interact with Hetzner DNS API in most easy way. Hopefully in future it will be used for Hetzner external-dns provider. Check out example directory and

Get your own token on Hetzner DNS and place it to token variable and run code

token := "jcB2UywP9XtZGhvhSHpH5m"
zone := "vhSHpH5mjcB2UywP9XtZGh"

log.Println("Create new instance")
hdns := hclouddns.New(token)

log.Println("Get zone", zone)

allRecords, err := hdns.GetRecords(zone)
if err != nil {


At this moment library supports all API requests. If you found some bug mail me or register here and create issue.

Copyright by Vladimir Smagin (21h) 2020 email:
Project page: