lanbugs / hdns_cli

Hetzner DNS CLI Tool
GNU General Public License v3.0
13 stars 2 forks source link

update_record resets ttl to zero #3

Open the-habu opened 2 years ago

the-habu commented 2 years ago

update_record resets the ttl of my A record to 0. I found no way to edit the ttl after the update via hdns cli to my needs.

Is it a missing feature or am I overlooking a command I could use after the update to achieve editing the ttl? Thank you in advance and for your great work!

MaxRower commented 1 year ago

Same here, please fix it, either by adding an additional parameter, or by not changing the TTL, if that is possible at all. TTL seems to be optional in the API, see also https://dns.hetzner.com/api-docs/#operation/UpdateRecord