Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miekg/dump
dump all incoming request in coredns
https://github.com/miekg/dump
Last synced: 26 days ago
JSON representation
dump all incoming request in coredns
- Host: GitHub
- URL: https://github.com/miekg/dump
- Owner: miekg
- License: apache-2.0
- Archived: true
- Created: 2018-01-17T18:23:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T05:37:38.000Z (about 4 years ago)
- Last Synced: 2024-05-09T20:19:13.300Z (7 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-coredns - dump - dumps all incoming queries on standard output. (External Plguins)
README
# 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} - {>id} {type} {class} {name} {proto} {port}
~~~So a query will show up as:
~~~
:1 - 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
~~~ txt
dump
~~~## Examples
Dump all queries.
~~~ corefile
. {
dump
}
~~~