-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create reverse lookup record on a Windows Active Directory server. #141
Comments
Get the exact same thing for NS records, A and cname are fine! "expecting a token from the acceptor" Windows DNS.... |
I am also getting this error for NS records. I ran terraform in TRACE mode and am attaching the logs here. vars:
records.tf
|
I was able to get PTR records working on Windows AD by creating a dummy resource, then importing a record I created manually. In case it helps, here is my solution: Example IP address: 10.20.30.40/24 Then the following resource block successfully creates the PTR record: resource "dns_ptr_record" "test" {
zone = "30.20.10.in-addr.arpa."
name = "40"
ptr = "centos.example.com."
ttl = 300
} |
Provider, Resource and locals used:
The error message that is received is:
Error: Error updating DNS record: unexpected acceptor flag is not set: expecting a token from the acceptor, not in the initiator
│
│ with dns_ptr_record.test,
│ on vsphere-ubuntu.tf line 96, in resource "dns_ptr_record" "test":
│ 96: resource "dns_ptr_record" "test" {
The corresponding "dns_a_record_set" resource works as expected.
I have also tried to create a static resource without using foreach loop with the same result.
The corresponding NSUPDATE command works as expected:
Terraform v0.15.4
on linux_amd64
The text was updated successfully, but these errors were encountered: