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

## SYNOPSIS

string = resolver:decode(msg)

## DESCRIPTION

DEBUG FUNCTION

Convert a raw DNS message byte stream into a lua table that can be processed by lua code. The output of this call is not yet fully specified and subject to change without notice. This limits the use of this function for debug purposes for now.

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().

## RETURN VALUE

Table.

## SEE ALSO

resolver:dump(), resolver:traceTransmit(), resolver:traceReceive()