Skip to content

v1.3.0: GSS-TSIG broken with Windows AD DNS servers #178

@onno204

Description

@onno204

Hi,

We are using the Terraform module hashicorp/dns, which has a dependency on this project.
Hashicorp/dns recently bumped bodgit/tsig from v1.2.2 to v1.3.0, and now our dynamic DNS updates (RFC 2136) throws an error when updating DNS records on our Windows Server DNS.
We are using Kerberos with usename/password authentication.

We see the error:

Error: Error deleting DNS record: unexpected acceptor flag is not set: expecting a token from the acceptor, not in the initiator

hashicorp/dns confirmed the issue is related to the v1.3.0 version of tsig.
See hashicorp/dns issue here: hashicorp/terraform-provider-dns#642.

To quote:
Windows Server DNS appears to not set the SentByAcceptor flag in its MIC token responses, which is required by RFC 4121. It seems like the upstream library is now enforcing that behavior.

They suggested a tolerance option for non-compliant servers. Is this something that would be possible to implement into this project?
I have very little knowledge of the inner workings of Kerberos; If more information is needed, please let me know.

(I expect this will also become an issue for our kubernetes-sigs/external-dns updates, as they have also recently bumped to v1.3.0, but I didn't test that since they haven't published a new release yet.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions