Skip to content
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 or update wildcard records on subdomain #245

Open
1 task done
molldk opened this issue Nov 25, 2022 · 1 comment
Open
1 task done

Unable to create or update wildcard records on subdomain #245

molldk opened this issue Nov 25, 2022 · 1 comment
Labels

Comments

@molldk
Copy link

molldk commented Nov 25, 2022

Terraform CLI and Provider Versions

Terraform v1.3.1
on windows_amd64

  • provider registry.terraform.io/hashicorp/dns v3.2.3

Your version of Terraform is out of date! The latest version
is 1.3.5. You can update by downloading from https://www.terraform.io/downloads.html

Terraform Configuration

provider "dns" {
  update {
    server = var.servername
    gssapi {
      realm    = var.domain
      username = var.admuser
      password = var.admpass
    }
  }
}

resource "dns_a_record_set" "test" {
  zone      = "contoso.com"
  name      = "*.test"
  addresses = ["127.0.0.1"]
}

Expected Behavior

Create record like a record that does not contain the wildcard character *

Actual Behavior

Got error message:
Error: Error updating DNS record: The message or signature supplied for verification has been altered.

If removing the wildcard if creates the record, manually creating the record and importing seems to work as well, but then error when trying to update.

Steps to Reproduce

  1. terraform apply

How much impact is this issue causing?

Medium

Logs

No response

Additional Information

It seems to break when adding the wildcard character on a subdomain. I have not tried wildcard on apex, so can't comment on that part. Removing the wildcard creates and updates the record as expected.

I have changed the domain from my test to contoso.com.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@molldk molldk added the bug label Nov 25, 2022
@bodgit
Copy link
Contributor

bodgit commented Jul 26, 2024

If that's a Windows DNS server then they don't support creating wildcard records using dynamic DNS updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants