Home Contents | # resolver:dump | Rawio | Core4 Lua Event System

## SYNOPSIS

string = resolver:dump(msg)

## DESCRIPTION

DEBUG FUNCTION

Convert a raw DNS message byte stream into human readable text. The output of this call is meant for debug use only. No promises are made as to the format of this text.

Call is useful together with the tracing debug functions in order to makes sense of the data. The tracing functions are resolver:traceTransmit() and resolver:traceReceive().

Output consists of multi-line text separated by newlines. If this is to be passed on to syslog, it is recommended to split the output into multiple lines.

## RETURN VALUE

Text string.

## SEE ALSO

resolver:decode(), resolver:traceTransmit(), resolver:traceReceive()