Skip to content

Commit

Permalink
dns: Mark module as obsolete as of Go 1.20 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnStarich authored Nov 16, 2023
1 parent e63d624 commit 0cfead8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dns/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# dns <a href="https://johnstarich.com/go/dns"><img src="https://img.shields.io/badge/gopages-reference-%235272B4" /></a>

**NOTE:** This module is obsolete as of Go 1.20. Go now uses the [native macOS DNS resolver][golang-issue]!

Implements a working macOS DNS resolver (really just a `Dial`er) for projects that must cross-compile from Linux systems or just don't want CGO.

In my experience, it is common to disable CGO for macOS CI builds. However, there's been a [few issues with that][golang-issue]. This library adds a drop-in replacement for Go's `net.DefaultResolver` to fill the gap.
Expand Down

0 comments on commit 0cfead8

Please sign in to comment.