GODNS ==== A tiny dns cache server written by go. Similar as [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html) ,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 ## Install & Running ## Configuration All the configuration on `godns.conf` a TOML formating config file. More about Toml :[https://github.com/mojombo/toml](https://github.com/mojombo/toml) #### resolv.conf Upstream server can be configuration by change file from somewhere other that "/etc/resolv.conf" ``` [resolv] resolv-file = "/etc/resolv.conf" ``` If multi `namerserver` set at resolv.conf, the upsteam server will try in order of up to botton #### hosts #### cache