coredns/plugin
Miek Gieben 775cf92f03 plugin/loop: show from -> to (#2400)
Show from and to address when detecting a loop they may aid in
debugging.

Hard to create a unit test, but this is a startup run with self induced
loop:

~~~ corefile
.:1053 {
    loop
    log
    forward . 127.0.0.1:1053
}
~~~~

~~~
:1053
2018-12-16T10:11:03.695Z [INFO] CoreDNS-1.3.0
2018-12-16T10:11:03.695Z [INFO] linux/amd64, go1.11,
CoreDNS-1.3.0
linux/amd64, go1.11,
2018-12-16T10:11:03.696Z [FATAL] plugin/loop: Loop (127.0.0.1:51384 -> :1053) detected for zone ".", see https://coredns.io/plugins/loop#troubleshooting. Query: "HINFO 2781022615773629442.4133547885299871809."
~~~

Update the docs and polished that a bit as well.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-12-16 13:48:09 -08:00
..
auto fix formatting (#2302) 2018-11-13 16:46:48 -05:00
autopath Update README.md (#2215) 2018-10-18 21:42:53 +00:00
bind Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
cache remove trailing whitespace (#2260) 2018-11-01 19:37:13 +00:00
chaos Replace bool map with struct{} map in chaos plugin (#2384) 2018-12-08 23:57:57 +00:00
debug Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
deprecated Implement deprecation notice for 1.1.4 (#1833) 2018-05-24 14:30:01 +01:00
dnssec Fix EDNS0 compliance (#2357) 2018-12-06 21:18:11 +00:00
dnstap Better naming (#2104) 2018-09-19 08:16:04 +01:00
erratic Fix EDNS0 compliance (#2357) 2018-12-06 21:18:11 +00:00
errors recommended (#2283) 2018-11-09 20:32:43 +00:00
etcd Convert bool map to struct{} map in etcd.go (#2381) 2018-12-08 06:15:11 -08:00
federation plugin/federation: Add upstream option to federation (#2177) 2018-10-15 12:43:03 -04:00
file Fix EDNS0 compliance (#2357) 2018-12-06 21:18:11 +00:00
forward plugin/forward: remove truncate logic (#2320) 2018-12-01 09:07:42 +00:00
health Fix a typo in health plugin readme (#2274) 2018-11-06 08:54:53 -08:00
hosts plugin/host: parse file without holding lock (#2270) 2018-11-03 13:00:07 -07:00
k8s_external Add new plugin: external - resolve k8s ingress and LB address with external names (#2379) 2018-12-14 09:41:51 +00:00
kubernetes Add new plugin: external - resolve k8s ingress and LB address with external names (#2379) 2018-12-14 09:41:51 +00:00
loadbalance Do not muck with ordering of XFRs (#2329) 2018-11-21 08:38:19 +01:00
log map bool -> map struct{} (#2386) 2018-12-10 02:17:15 -08:00
loop plugin/loop: show from -> to (#2400) 2018-12-16 13:48:09 -08:00
metadata Typo fixes (#2031) 2018-08-14 08:55:55 -07:00
metrics map bool -> map struct{} (#2386) 2018-12-10 02:17:15 -08:00
nsid Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
pkg edns0 compliance: set correct RCODE (#2388) 2018-12-11 20:27:29 +00:00
pprof Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
proxy Ensure Re-register of metrics variables after a reload (#2080) 2018-09-19 02:11:24 -07:00
reload Typo fixes (#2031) 2018-08-14 08:55:55 -07:00
rewrite Use Trim(Prefix/Suffix) instead of Trim(Left/Right) in rewrite prefix plugin (#2364) (#2372) 2018-12-06 22:10:46 +00:00
root Typo fixes (#2031) 2018-08-14 08:55:55 -07:00
route53 Add the missed braces. (#2330) 2018-11-21 07:44:17 -08:00
secondary Fix ineffassign (#1959) 2018-07-28 10:32:13 +01:00
template Ensure Re-register of metrics variables after a reload (#2080) 2018-09-19 02:11:24 -07:00
test plugin/test: Fix documentation (#1948) 2018-07-07 08:30:57 +01:00
tls Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
trace Add request and response context to traces (#2162) 2018-10-05 20:13:16 +00:00
whoami Fix EDNS0 compliance (#2357) 2018-12-06 21:18:11 +00:00
backend.go all: fix plugin import ordering (#1717) 2018-04-22 08:34:35 +01:00
backend_lookup.go Make backand.go maps smaller (#2380) 2018-12-08 05:19:22 -08:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
normalize.go Better naming (#2104) 2018-09-19 08:16:04 +01:00
normalize_test.go CIDR query routing (#1159) 2017-10-24 10:16:03 +01:00
plugin.go fix typo (#2272) 2018-11-05 05:59:24 -08:00