Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
b4485b48
Commit
b4485b48
authored
Apr 30, 2019
by
Cricket Liu
Committed by
Chris O'Haver
Apr 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md (#2808)
Minor grammatical fixes.
parent
ab1c0bb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
plugin/debug/README.md
plugin/debug/README.md
+9
-9
No files found.
plugin/debug/README.md
View file @
b4485b48
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
## Description
## Description
Normally CoreDNS will recover from panics
,
using
*debug*
inhibits this. The main use of
*debug*
is
Normally CoreDNS will recover from panics
;
using
*debug*
inhibits this. The main use of
*debug*
is
to help
testing. A side effect of using
*debug*
is that
`log.Debug`
and
`log.Debugf`
will be printed
to help
in testing. A side effect of using
*debug*
is that
`log.Debug`
and
`log.Debugf`
messages
to standard output.
will be printed
to standard output.
Note that the
*errors*
plugin (if loaded) will also set a
`recover`
negating this setting.
Note that the
*errors*
plugin (if loaded) will also set a
`recover`
,
negating this setting.
## Syntax
## Syntax
...
@@ -18,7 +18,7 @@ Note that the *errors* plugin (if loaded) will also set a `recover` negating thi
...
@@ -18,7 +18,7 @@ Note that the *errors* plugin (if loaded) will also set a `recover` negating thi
debug
debug
~~~
~~~
Some plugin
will
debug log DNS messages. This is done in the following format:
Some plugin
s will send
debug log DNS messages. This is done in the following format:
~~~
~~~
debug: 000000 00 0a 01 00 00 01 00 00 00 00 00 01 07 65 78 61
debug: 000000 00 0a 01 00 00 01 00 00 00 00 00 01 07 65 78 61
...
@@ -27,11 +27,11 @@ debug: 000020 00 29 10 00 00 00 80 00 00 00
...
@@ -27,11 +27,11 @@ debug: 000020 00 29 10 00 00 00 80 00 00 00
debug: 00002a
debug: 00002a
~~~
~~~
Using
`text2pcap`
(part of Wireshark) this can be converted back to binary, with the following
Using
`text2pcap`
(part of Wireshark)
,
this can be converted back to binary, with the following
command line:
`text2pcap -i 17 -u 53,53`
. W
here 17 is the protocol (UDP) and 53 are the ports. These
command line:
`text2pcap -i 17 -u 53,53`
, w
here 17 is the protocol (UDP) and 53 are the ports. These
ports allow
w
ireshark to detect these packets as DNS messages.
ports allow
W
ireshark to detect these packets as DNS messages.
Each plugin can decide to dump messages to aid in debugging.
Each plugin can decide
whether
to dump messages to aid in debugging.
## Examples
## Examples
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment