If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
provider "dns" {
update {
server = "dns_host1.example.com" # Using the hostname is important in order for an SPN to match
gssapi {
realm = "example.com"
username = "dns_user"
keytab = "/path/to/DNS.keytab"
}
}
}
resource "dns_ptr_record" "tf_ptr" {
zone = "17.238.10.in-addr.arpa."
name = "27"
ptr = "host.example.com."
}
Debug Output
dns_ptr_record.tf_ptr: Creating...
Error: Error updating DNS record: Error negotiating GSS context: [Root cause: Networking_Error] Networking_Error: AS Exchange Error: failed sending AS_REQ to KDC: failed to communicate with KDC. Attempts made with UDP (no KDCs defined in configuration for realm example.com) and then TCP (no KDCs defined in configuration for realm example.com)
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.
Expected Behavior
PTR record created
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
TF config is able to fetch the records via data sources such as A record and PTR record.
Terraform Version
Terraform v0.14.9
Affected Resource(s)
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
dns_ptr_record.tf_ptr: Creating...
Error: Error updating DNS record: Error negotiating GSS context: [Root cause: Networking_Error] Networking_Error: AS Exchange Error: failed sending AS_REQ to KDC: failed to communicate with KDC. Attempts made with UDP (no KDCs defined in configuration for realm example.com) and then TCP (no KDCs defined in configuration for realm example.com)
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
PTR record created
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
TF config is able to fetch the records via data sources such as A record and PTR record.
krb5.conf