DNSMSG::header¶
Description¶
DNSMSG::header takes an opaque dns_message returned from
RESOLVER::name_lookup and the name of a field to extract from the
header section. It will return that field from the header section.
Examples¶
when CLIENT_ACCEPTED {
set result [RESOLVER::name_lookup "/Common/r1" www.abc.com a]
set rcode [DNSMSG::header $result rcode]
}