mercari / go-dnscache

Go package for caching DNS lookup results in memory.

Home Page:https://go.mercari.io/go-dnscache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-dnscache Go Documentation CircleCI (all branches)

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.

About

Go package for caching DNS lookup results in memory.

https://go.mercari.io/go-dnscache

License:MIT License


Languages

Language:Go 100.0%