aboutsummaryrefslogtreecommitdiff
path: root/cmd/resolver/main.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2019-12-26 21:32:05 +0700
committerShulhan <m.shulhan@gmail.com>2019-12-26 21:32:05 +0700
commit16eb87f5eded5a7f143b045f9a3d3e66c9836290 (patch)
tree3e4407c68a349d8efad4214e55b12b720111a541 /cmd/resolver/main.go
parent078923ad73cca5825bb3a0372eab1fce4423342c (diff)
downloadrescached-16eb87f5eded5a7f143b045f9a3d3e66c9836290.tar.xz
rescached v3.0.0-alphav3.0.0-alpha
All the server core functionalities (caches and forwarding) now implemented inside "dns.Server". The main function of this package are for reading options from configuration file (or from command line options) and watching changes from system resolv.conf. == New Features * Support serving and forwarding DNS over TLS * Add launchd script for macOS and make tasks to install and uninstall on macOS == Breaking Changes There are also some major changes on configuration file. All configuration now break into two section '[rescached]' and '[dns "server"]'. For more information see new rescached.cfg manual page or an example in `cmd/rescached/rescached.cfg`. Some detailed changes are, * "parent" option now use URI format instead of IP:PORT. This will allow parent name servers to be UDP, TCP, and/or DoH simultaneously. * "server.doh.parent" and "server.parent.connection" are removed, redundant with new "server.parent" format. * "cache.threshold" is renamed to "cache.prune_threshold". * "file.pid" is removed. The concept of writing PID file when the program start on networking service is not applicable or relevant anymore on systemd or launchd. If the program already started, the second program will fail because the port is already used.
Diffstat (limited to 'cmd/resolver/main.go')
0 files changed, 0 insertions, 0 deletions