ltm rule command DNSMSG sectionΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

DNSMSG::section
       Returns a section of a dns_message.

SYNOPSIS
       DNSMSG::section DNS_MESSAGE ('question' | 'answer' | 'authority' | 'additional' )

DESCRIPTION
       This iRule gets the specified section of a dns_message.

       Syntax

       DNSMSG::section  [ question | answer | authority | additional ]

RETURN VALUE
       Returns a TCL list of resource records from the specified section.

VALID DURING
       ANY_EVENT

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

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-15.1.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)