terraform-provider-hetznerdns icon indicating copy to clipboard operation
terraform-provider-hetznerdns copied to clipboard

Suggestion: Provide constants for Hetzner nameservers

Open ThomasLandauer opened this issue 3 years ago • 2 comments

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?

ThomasLandauer avatar May 20 '21 13:05 ThomasLandauer

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 :-)

timohirt avatar Jan 18 '22 21:01 timohirt

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

ThomasLandauer avatar Jan 18 '22 23:01 ThomasLandauer