dump all incoming request in coredns
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
dump.go
dump_test.go

README.md

dump

Name

dump - dumps all incoming queries on standard output.

Description

dump uses the synax from the log plugin, and defaults to this format:

{remote} - [{when}] {>id} {type} {class} {name} {proto} {port}

So a query will show up as:

:1 - [17/Jan/2018:20:02:19 +0000] 3644 MX IN example.net. udp 46481

Note that this is shorter than the default for log so you can distinguish between the two outputs. log only logs queries that have seen a response, so this plugin can be used as a debugging aid to just dump all incoming queries.

Syntax

dump

Examples

Dump all queries.

. {
    dump
}