Skip to content

[Bug]: citrixadc_dnssoarec create from time to time PROXY record instead ADNS #1341

@psmola

Description

@psmola

Terraform Core Version

1.13

citrixadc Provider Version

2.1.0

Operating system

Red Hat Enterprise

Affected Resource(s)

  • citrixadc_dnssoarec
    Resource citrixadc_dnssoarec create from time to time records with type PROXY instead ADNS which cause that such type of SOA record can't be assgined to domain:
    error msg
    "A proxy record cannot be assigned to the domain"

Equivalent NetScaler CLI Command

add dns soaRec address.api.domain.net -originServer origin.domain.net -contact hostmaster.domain.net -serial 2021091001

Expected Behavior

Due to fact that in resource is not possible specify type of SOA record always should be created ADNS.

Actual Behavior

Unfortunately couldn't find schema of such behavior why from time to time is PROXY record created.

Relevant Error/Panic Output Snippet

Terraform Configuration Files

terraform {
  required_version = ">= 1.9.8"
  required_providers {
    citrixadc = {
      source  = "citrix/citrixadc"
      version = "2.1.0"
    }   
  }
}

Steps to Reproduce

resource "citrixadc_dnssoarec" "tf_dnssoarec" {
  count        = local.counter
  domain       = local.domain["cx_suffix"][count.index] 
  originserver = local.cx_workload_info[var.cx_workload_placement]["cx_soarec_nameserver"]
  contact      = "hostmaster.domain.net"
  serial       = tonumber(format("%s01", substr(var.partition_name, 8, 5)))
  refresh      = 3600
  retry        = 3
  expire       = 3600
  minimum      = 5
  ttl          = local.cx_workload_info[var.cx_workload_placement]["cx_soarec_ttl"]

  depends_on = [resource.citrixadc_nsip.tf_nsip]
}

for multiple execution resource creation (for example 10) , 1-2 records are created with type PROXY

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions