ltm rule command RESOLVER name lookup
iRule(1) BIG-IP TMSH Manual iRule(1)
RESOLVER::name_lookup
This command performs a DNS lookup.
SYNOPSIS
RESOLVER::name_lookup NET_RESOLVER_NAME NAME TYPE
DESCRIPTION
RESOLVER::name_lookup performs a DNS query for a name and type using the network resolver specified.
This command allows queries for all resource record types and provides access to the DNS services available on
the BIGIP.
Syntax
RESOLVER::name_lookup
RETURN VALUE
The response will be a dns_message structure usable by the RESOLVER::summarize, DNSMSG::header, and
DNSMSG::section iRule commands.
VALID DURING
ANY_EVENT
EXAMPLES
when CLIENT_ACCEPTED {
set result [RESOLVER::name_lookup "/Common/r1" www.abc.com a]
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-15.1.0 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)