22a31dcd98 | ||
---|---|---|
README.MD | ||
cache.go | ||
godns.conf | ||
handler.go | ||
main.go | ||
resolver.go | ||
server.go | ||
settings.go |
README.MD
GODNS
A tiny dns cache server written by go.
Similar as dnsmasq ,but support some difference features:
-
Keep hosts configuration in redis instead of local file /etc/hosts
So can be updated from remote server -
Atuo-Reload when hosts configuration changed. (Yes,dnsmasq need restart)
-
Cache records save in memory or redis configurable
Configuration
All the configuration on godns.conf a TOML formating config file.
More about Toml :https://github.com/mojombo/toml