Registry / networking / rs-dnscache

rs-dnscache

JSON →
library0.0.0-20230804202142-fc85eb664529gogounverified

A Go library for caching DNS lookups to reduce latency and improve performance.

go get github.com/rs/dnscache
INSTALL
IMPORT
SIG · RS-DNSCACHE
R
rs-dnscache
networkinggov0.0.0-20230804202142-fc85eb664529
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dnscache
github.com/rs/dnscache

Using the DNS cache resolver.

package main import ( "fmt" "github.com/rs/dnscache" ) func main() { resolver := &dnscache.Resolver{} ips, _ := resolver.LookupHost("example.com") fmt.Println(ips) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230804202142-fc85eb664529latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
rs-dnscache — go get rs-dnscache · libregistry