Forum Discussion
Do RESOLV::lookup responses get cached?
Hello,
I'm looking at an irule where I need to use RESOLV::lookup to determine the node for ongoing connections. My concern about this method is whether the lookup will be done every time the rule fires or whether it uses an internal cache in TMM until the TTL expires and a new lookup happens?
If it doesn't cache the result anywhere, I believe I could use a persistence uie table as a sort of cache, would there be any better ways of doing it?
Thanks
3 Replies
- Kevin_Stewart
Employee
Refer to:
Note: The results for all query types should be cached according to the Time To Live on the response. Subsequent calls using RESOLV::lookup will use the cache
- Ben_Kennedy_502
Nimbostratus
ah, thanks - I read that page a couple of times and didn't spot it! Thanks, Ben
- nitass
Employee
just in case you have not seen the db variables.
[root@ve11a:Active:Changes Pending] config tmsh list sys db one-line |grep -i tmm.resolv sys db tmm.resolv.cachesize { value "8192" } sys db tmm.resolv.retry { value "3" } sys db tmm.resolv.timeout { value "5" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com