RESOLV::lookup limitations
Hi all,
I use the RESOLV::lookup command in an iRule and I've got a little problem.
It seems that the number of answer is limited to 16.
Then I've two questions :
1) is it true ?
2 how can i bypass this limitation ?
Thanks for your help
Lionel
Her is my iRule :
when DNS_REQUEST timing on {
if { ([DNS::question type] eq "A")} {
if { [class match [getfield [DNS::question name] ".mnc999.mcc999.gprs" 1] starts_with cls_sgsn]} {
if { [LB::status node 10.64.2.212 ] eq "up" } {
set static::dnrl 10.64.2.212
} else {
set static::dnrl 10.62.2.212
}
set resultats [RESOLV::lookup @$static::dnrl -a "[getfield [DNS::question name] ".mnc999.mcc999.gprs" 1].mnc000f.mcc000f.gprs"]
foreach resultat $resultats {
DNS::answer insert "[DNS::question name]. 3600 IN A ${resultat}"
}
DNS::return
}
}
}