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

fix(dns): migrate to go1.20 #824

Merged
merged 4 commits into from
Feb 15, 2023
Merged

fix(dns): migrate to go1.20 #824

merged 4 commits into from
Feb 15, 2023

Conversation

Integralist
Copy link
Collaborator

@Integralist Integralist commented Feb 15, 2023

The latest version of Go (1.20)...

DNS resolution will detect changes to /etc/nsswitch.conf and reload the file when it changes. Checks are made at most once every five seconds, matching the previous handling of /etc/hosts and /etc/resolv.conf.

Additionally, under https://tip.golang.org/doc/go1.20#cgo

On macOS, the net and os/user packages have been rewritten not to use cgo: the same code is now used for cgo and non-cgo builds as well as cross-compiled builds.

We're hoping the DNS related changes to Go for programs compiled without CGO should help resolve #289.

@Integralist Integralist added the enhancement New feature or request label Feb 15, 2023
@Integralist Integralist merged commit 4538dec into main Feb 15, 2023
@Integralist Integralist deleted the integralist/go1.20 branch February 15, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"context deadline exceeded" - Continuous delay when running with (broken?) DNS settings
1 participant