go-dnscache

Go package for caching DNS lookup results in memory.

Github stars Tracking Chart

go-dnscache Go Documentation CircleCI (all branches) Codecov

go-dnscache is a Go package for caching DNS lookup results in memory. It asynchronously lookups DNS and refresh results. The main motivation of this package is to avoid too much DNS lookups for every request (DNS lookup sometimes makes request really slow and causes error). This can be mainly used for the targets which are running on non-dynamic environment where IP does not change often.

Install

Use go get:

$ go get -u go.mercari.io/go-dnscache

Usage

All usage are described in GoDoc.

Main metrics

Overview
Name With Ownermercari/go-dnscache
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2018-11-13 00:00:21
Pushed At2024-12-04 01:52:41
Last Commit At2024-12-04 10:52:39
Release Count3
Last Release Namev0.2.0 (Posted on 2023-10-24 12:07:25)
First Release Name0.1.0 (Posted on )
用户参与
Stargazers Count134
Watchers Count6
Fork Count17
Commits Count32
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count11
Pull Requests Open Count2
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private