Registry / networking / viki-org-dnscache

viki-org-dnscache

JSON →
library0.0.0-20130720023526-c70c1f23c5d8gogounverified

A Go DNS cache that provides caching of DNS lookups with configurable TTL.

go get github.com/viki-org/dnscache
INSTALL
IMPORT
SIG · VIKI-ORG-DNSCACHE
V
viki-org-dnscache
networkinggov0.0.0-20130720023526-c70c1f23c5d8
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/viki-org/dnscache

Create a DNS cache and resolve a domain.

package main import ( "fmt" "github.com/viki-org/dnscache" ) func main() { cache := dnscache.New() ips, err := cache.Fetch("example.com") if err != nil { panic(err) } fmt.Println(ips) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20130720023526-c70c1f23c5d8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
viki-org-dnscache — go get viki-org-dnscache · libregistry