timohirt / terraform-provider-hetznerdns

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

Suggestion: Provide constants for Hetzner nameservers #27

Open ThomasLandauer opened 3 years ago

ThomasLandauer commented 3 years ago

I just created this in my .ts file:

locals {
    hetzner_ns1 = "helium.ns.hetzner.de."
    hetzner_ns2 = "hydrogen.ns.hetzner.com."
    hetzner_ns3 = "oxygen.ns.hetzner.com."
}

And besides asking myself if this is really the "correct" way to do it ;-) - The more important question is: I guess everybody doing DNS with Hetzner will need those nameservers, so is there a way you could distribute those values right inside the provider?

timohirt commented 2 years ago

Valid point! The names are more or less fixed or at least they don't change frequently.

This project is open for contributions and I would assist with the PR :-)

ThomasLandauer commented 2 years ago

Sorry, but my knowledge of Go is zero ;-) But if somebody else creates the first name server, I'm sure I could copy-paste the two others... lol