DNSMSG::section

Description

DNSMSG::section takes an opaque dns_message returned from RESOLVER::name_lookup and the name of a section to extract from the DNS message. It will return that section as a list of rr_objs.

Syntax

DNSMSG::section <dns_message> (question|answer|authority|additional)

Examples

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