Add debug.Hexdump (#1902)

Allow plugins to dump messages in text pcap to the log. The forward
plugin does this when a reply does not much the query.

If the debug plugin isn't loaded Hexdump and Hexdumpf are noop.

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2018-07-04 07:54:17 +01:00
committed by GitHub
parent 063e673bc4
commit e6f81ebb31
5 changed files with 169 additions and 3 deletions

2
.gitignore vendored
View File

@@ -4,8 +4,6 @@ Corefile
coredns
coredns.exe
coredns.exe~
debug
debug.test
kubectl
go-test-tmpfile*
coverage.txt