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

Allow managing SOA record

Open Nothing4You opened this issue 3 years ago • 2 comments

Affected Resource(s)

  • dns_soa_record

I would like to be able to manage fields in the SOA record using this provider. At least with bind9 it is possible to update this record using nsupdate.

As this record contains the zone serial that needs to be kept in mind when manipulating it.

Specifically I'd like to be able to manage the following fields:

  • MNAME
  • RNAME
  • REFRESH
  • RETRY
  • EXPIRE
  • TTL/MINIMUM

I'm not sure if exposing configuration of SERIAL makes sense as it should be dynamically generated to ensure propagation of updates.

Nothing4You avatar Mar 25 '21 19:03 Nothing4You

You can't create or destroy the SOA record in a zone. For the zone to exist to be able to manipulate it, you've already had to add the SOA record.

bodgit avatar Jul 08 '21 21:07 bodgit

it would still be good to be able to update it imo. i guess for destroying that record type should just be ignored.

Nothing4You avatar Jul 08 '21 22:07 Nothing4You