Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
COREDNS-DEBUG(7)		CoreDNS	Plugins		      COREDNS-DEBUG(7)

NAME
       debug - disables	the automatic recovery upon a crash so that you'll get
       a nice stack trace.

DESCRIPTION
       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 de-
       bug is that log.Debug and log.Debugf messages will be printed to	 stan-
       dard output.

       Note that the errors plugin (if loaded) will also set a recover,	negat-
       ing this	setting.

       Enabling	 this  plugin  is process-wide:	enabling debug in at least one
       server block enables debug mode globally.

SYNTAX
	      debug

       Some plugins will send debug log	DNS messages. This is done in the fol-
       lowing format:

	      debug: 000000 00 0a 01 00	00 01 00 00 00 00 00 01	07 65 78 61
	      debug: 000010 6d 70 6c 65	05 6c 6f 63 61 6c 00 00	01 00 01 00
	      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  bi-
       nary,  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	 Wire-
       shark to	detect these packets as	DNS messages.

       Each plugin can decide whether to dump messages to aid in debugging.

EXAMPLES
       Disable the ability to recover from crashes and show debug logging:

	      .	{
		  debug
	      }

SEE ALSO
       https://www.wireshark.org/docs/man-pages/text2pcap.html
       <https://www.wireshark.org/docs/man-pages/text2pcap.html>.

CoreDNS				  March	2021		      COREDNS-DEBUG(7)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=coredns-debug&sektion=7&manpath=FreeBSD+Ports+14.3.quarterly>

home | help