Forum Discussion
Kai_Wilke
Mar 11, 2016MVP
Hi Dave,
a datagroup entry is always a
key_name=key_value
(where the value can be empty) combination and the search is always performed on the "key_names". The [class match -value]
or simply [class lookup]
syntax will then TCL return the key_value
instead of the boolean 0
or 1
of the native [class match]
syntax.
I guess your iRule isn't working correctly since you compare the reverse-dns-lookup results with the key_names
str1
, str2
, str3
, etc. This wouldn't work unless your reverse DNS query would resolve to those strings (which I dont believe). So ,my best bet would be, that you have to flip the order or the whitelist-smtp-names datagroup, so that the FQDNs would become the key_name
.
Additional Note: Also check the format of your
entries. When using external datagroups, then you don't have to specify prefixes infront of each key/value pair. key_name=key_value
Cheers, Kai