RESOLVER::summarize

Description

RESOLVER::summarize takes an opaque dns_message returned from RESOLVER::name_lookup and generates a summary of the DNS answer section, only including the record type specified in the query. It returns the summary as a TCL list of resource record objects.
This command differs from DNSMSG::section which returns all resource records (even if not specified type in query) from any specified section.

Syntax

RESOLVER::summarize <dns_message>

Examples

when CLIENT_ACCEPTED {
        set result [RESOLVER::name_lookup "/Common/r1" www.abc.com a]
        set rrs [RESOLVER::summarize $result]
}