Closed c33s closed 4 years ago
Not sure what I can do here. If you would like to see alias support, Hetzer needs to add support for it in the first place, as you already stated.
maybe it's possible to build some kind of wrapper where the zone name is automagically looked up to an id (don't know the internas).
what i missed to say: thank you very much for you work and that you opensourced your provider.
After reading the articles you listed in the first comment, I think this can't be implemented without support of the DNS provider. Or at least I can't, as I'm no DNS expert. Do you want to contribute support for ALIAS
records? Otherwise I would close the issue.
powerdns supports a record type called
ALIAS
where you can add "CNAME"-like records for the root of a domain.``hcl resource "powerdns_record" "example_at" { zone = "example.at." name = "example.at." type = "ALIAS" ttl = 300 records = ["www.example.at."] } resource "powerdns_record" "www_example_at" { zone = "example.at." name = "www.example.at." type = "CNAME" ttl = 300 records = ["host10.example.net."] }