timohirt / terraform-provider-hetznerdns

Terraform provider for Hetzner DNS
Mozilla Public License 2.0
106 stars 21 forks source link

How to handle SOA entries? #20

Open svenstaro opened 4 years ago

svenstaro commented 4 years ago

Hi, I'm curious whether this is possible or intended with this provider as it's my understanding that SOA is a dynamic entry that is modified every time the zonefile is changed.

timohirt commented 4 years ago

Hi @svenstaro! I'm not sure if managing the SOA records is possible with Hetzner DNS. The SOA record in my zone was created automatically when I created the zone. I can't delete it and I can't change it via the web interface. Have you tried to change them?

I suggest you ask the Hetzner folks if it is possible to manage the SOA entries manually. What do you think?

TheNerdyHamster commented 2 years ago

Hi, After some research and reading their documentation it looks like they now support modification on the SOA record via their api Docs.

Currently checking this one out, and trying to find a work around, seems like it's a problem with the tf state. Will update this thread if I find something.