diff options
author | 2019-04-30 10:49:53 -0700 | |
---|---|---|
committer | 2019-04-30 13:49:53 -0400 | |
commit | b4485b48d9d2fdcdac0e2750398b5fe506d3fba4 (patch) | |
tree | 0d4a76fa6d33cc2fac5026def840abb1e266be22 | |
parent | ab1c0bb425a4310ac70d72c065e17f1e0bd7a3a0 (diff) | |
download | coredns-b4485b48d9d2fdcdac0e2750398b5fe506d3fba4.tar.gz coredns-b4485b48d9d2fdcdac0e2750398b5fe506d3fba4.tar.zst coredns-b4485b48d9d2fdcdac0e2750398b5fe506d3fba4.zip |
Update README.md (#2808)
Minor grammatical fixes.
-rw-r--r-- | plugin/debug/README.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugin/debug/README.md b/plugin/debug/README.md index 0ce1808ed..fd769843d 100644 --- a/plugin/debug/README.md +++ b/plugin/debug/README.md @@ -6,11 +6,11 @@ ## Description -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 standard output. +Normally CoreDNS will recover from panics; using *debug* inhibits this. The main use of *debug* is +to help in testing. A side effect of using *debug* is that `log.Debug` and `log.Debugf` messages +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 @@ -18,7 +18,7 @@ Note that the *errors* plugin (if loaded) will also set a `recover` negating thi debug ~~~ -Some plugin will debug log DNS messages. This is done in the following format: +Some plugins 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 @@ -27,11 +27,11 @@ debug: 000020 00 29 10 00 00 00 80 00 00 00 debug: 00002a ~~~ -Using `text2pcap` (part of Wireshark) this can be converted back to binary, with the following -command line: `text2pcap -i 17 -u 53,53`. Where 17 is the protocol (UDP) and 53 are the ports. These -ports allow wireshark to detect these packets as DNS messages. +Using `text2pcap` (part of Wireshark), this can be converted back to binary, with the following +command line: `text2pcap -i 17 -u 53,53`, where 17 is the protocol (UDP) and 53 are the ports. These +ports allow Wireshark 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 |