An open API service indexing awesome lists of open source software.

https://github.com/dvlahovski/go-dnscached

DNS cache server
https://github.com/dvlahovski/go-dnscached

dns dns-cache dnsmasq golang

Last synced: 6 months ago
JSON representation

DNS cache server

Awesome Lists containing this project

README

          

# go-dnscached

This is a simple DNS caching server.

It uses this [DNS library](https://github.com/miekg/dns) for sending/receiving DNS queries.

Currently it caches only A and AAAA queries.
If it receives a different query - it acts as a forwarding DNS server without caching.

[Documentation](https://godoc.org/github.com/dvlahovski/go-dnscached)

There is a json config file in `config/config.json`

By default it creates a log file and also logs to STDOUT

After installing, the server is run with `go run main.go` or with `go build main.go; ./main`