terraform-provider-keycloak icon indicating copy to clipboard operation
terraform-provider-keycloak copied to clipboard

DNS Resolution Failures on MacOS

Open cablespaghetti opened this issue 1 year ago • 4 comments

When using split DNS on MacOS with this module, for example with a VPN, DNS resolution fails due to using the DNS server from /etc/resolv.conf instead of the proper resolver from the VPN. This is related to the way versions of Go prior to 1.20 do DNS resolution on MacOS when cross-compiled.

This is the same problem: https://github.com/petoju/terraform-provider-mysql/issues/66 More information here: https://danp.net/posts/macos-dns-change-in-go-1-20/

TL;DR can you please update to Go 1.20 so my DNS problems go away 🙏

Thanks!

cablespaghetti avatar Apr 25 '23 13:04 cablespaghetti

As a temporary solution, consider using this: https://github.com/greenboxal/dns-heaven

Have been using it for years while Terraform keeps on being a pain here.

erdebee avatar May 24 '23 09:05 erdebee

I ran into the same problem with version 4.4.0 of the provider.

giovannibaratta avatar Apr 11 '24 15:04 giovannibaratta

We have the same issue. Please upgrade the go version 🥺

Jonomir avatar Apr 18 '24 10:04 Jonomir

Will be resolved by https://github.com/mrparkers/terraform-provider-keycloak/pull/954

Jonomir avatar May 07 '24 07:05 Jonomir