Forum Discussion

Lionel_Saccoman's avatar
Lionel_Saccoman
Icon for Nimbostratus rankNimbostratus
Jul 16, 2013

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

 

}

 

}

 

}

 

 

3 Replies

  • Hi,

     

    I did a quick search for the max response count TMM would support but couldn't find anything. Could you open a case on this and reply back with what you get?

     

    Thanks, Aaron

     

  • Hi, Thanks Aaron. I opend a case. I havn't answer at this time. I'll keep you in touch. Lionel