ltm rule command DNS tsigΒΆ

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

DNS::tsig
       Manipulates the current DNS message and its TSIG resource record.

SYNOPSIS
       DNS::tsig 'remove'

       DNS::tsig 'exists'

DESCRIPTION
       This command manipulates the current DNS message and its TSIG resource record.

       Note: This command requires the DNS Profile, which is only enabled as part of GTM or the DNS Services add-on.

       Syntax

       DNS::tsig exists

	    * Returns a boolean for the TSIG's existence in the message.

       DNS::tsig remove

	    * Removes the TSIG from the message.

RETURN VALUE
VALID DURING
       GLOBAL_GTM

EXAMPLES
	when DNS_REQUEST {
	  if { [DNS::tsig exists] } {
	    DNS::tsig remove
	  }
	}

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

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