coredns/plugin
Miek Gieben a536833546
plugin/forward: add HealthChecker interface (#1950)
* plugin/forward: add HealthChecker interface

Make the HealthChecker interface and morph the current DNS health
checker into that interface.

Remove all whole bunch of method on Forward that didn't make sense.

This is done in preparation of adding a DoH client to forward - which
requires a completely different healthcheck implementation (and more,
but lets start here)

Signed-off-by: Miek Gieben <miek@miek.nl>

* Use protocol

Signed-off-by: Miek Gieben <miek@miek.nl>

* Dial doesnt need to be method an Forward either

Signed-off-by: Miek Gieben <miek@miek.nl>

* Address comments

Address various comments on the PR.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-07-09 15:14:55 +01:00
..
auto Updating filepath in auto plugin if existing zone's file changes location (#1901) (#1910) 2018-07-03 11:20:39 +01:00
autopath presubmit: check for uppercase (#1774) 2018-05-07 23:47:25 +02:00
bind Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
cache Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
chaos all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00
debug Add debug.Hexdump (#1902) 2018-07-04 07:54:17 +01:00
deprecated Implement deprecation notice for 1.1.4 (#1833) 2018-05-24 14:30:01 +01:00
dnssec presubmit: Check errorf as well (#1845) 2018-06-02 11:48:39 -07:00
dnstap Docs (#1943) 2018-07-06 11:27:40 +01:00
erratic Fix typo in erratic.go (#1812) 2018-05-17 16:59:57 -04:00
errors plugin/errors: remove panic/recover (#1777) 2018-05-09 19:04:46 -07:00
etcd Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
federation Watch feature (#1527) 2018-06-27 07:45:32 -07:00
file plugin/file: fix zone expiration (#1933) 2018-07-03 17:22:00 +01:00
forward plugin/forward: add HealthChecker interface (#1950) 2018-07-09 15:14:55 +01:00
health Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
hosts Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
kubernetes Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
loadbalance Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
log all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00
metadata Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
metrics Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
nsid all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00
pkg Doh: put in pkg/doh (#1946) 2018-07-07 08:22:07 +01:00
pprof generate doc for 1.1.3 (#1832) 2018-05-24 07:51:59 +01:00
proxy remove deprecated code (#1888) 2018-06-20 11:35:07 +01:00
reload Docs (#1943) 2018-07-06 11:27:40 +01:00
rewrite Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
root Use logging (#1718) 2018-04-22 21:40:33 +01:00
route53 Do Compress only when need in request.Scrub (#1760) 2018-05-01 21:04:06 +01:00
secondary plugin/forward: add REFUSED test (#1878) 2018-06-15 08:12:56 -07:00
template plugin/template: fix CNAME upstream handling (#1886) 2018-06-21 14:38:29 -04:00
test plugin/test: Fix documentation (#1948) 2018-07-07 08:30:57 +01:00
tls golinter fix (#1807) 2018-05-16 22:35:31 +01:00
trace core: remove HostAddresses() (#1728) 2018-04-25 15:27:25 +01:00
whoami Remove trailing whitespace (#1955) 2018-07-09 08:08:02 -04:00
backend.go all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00
backend_lookup.go Follow up on #1867 : use one map in backend_lookup (#1869) 2018-06-18 11:16:56 +01:00
normalize.go make CoreDNS DoH Server (#1619) 2018-05-21 19:40:46 +01:00
normalize_test.go CIDR query routing (#1159) 2017-10-24 10:16:03 +01:00
plugin.go all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00