Closed cablespaghetti closed 1 year ago
@cablespaghetti could you please test it again? Just released version 3.0.31 should be handling that well.
Hi @petoju,
FYI, it seems the darwin_arm64 has not been released.
I therefore think something was unexpected as it was the platform from which originated this ticket.
@thibautlemesle-fox this should be fixed.
Something probably went wrong with go update. I update also my local goreleaser and it finished fine now.
@petoju Apologies for the really slow response. I can confirm that the Go update has fixed this for me. Thank you! 🎉
Terraform Version
Affected Resource(s)
All resources.
Terraform Configuration Files
Expected Behavior
DNS resolved on MacOS with more complex configurations such as split DNS on a VPN.
Actual Behavior
I am seeing DNS resolution failures when connected to a VPN using split DNS on the latest version of MacOS. This seems to be a oddity in the way Go does DNS resolution when MacOS releases are cross-compiled from Linux or another OS.
After hanging for a really long time the error looks something like this:
Steps to Reproduce
Run terraform apply using this module when a hostname is not resolvable using the primary DNS server on a MacOS machine, but is using split DNS configuration.
Important Factoids
Doing DNS resolution the "proper way" on MacOS gets an IP address:
Other software such as the MySQL CLI and DBeaver also succeeds in connecting.
References
This issue is essentially the same problem https://github.com/Telmate/terraform-provider-proxmox/issues/665
This should be fixed if this provider can upgrade to Go 1.20: https://danp.net/posts/macos-dns-change-in-go-1-20/