Another CF11 Reverse DNS question
Hello, all,
It seems that the performance issues haxtbh mentioned regarding reverse DNS lookup on CF11 is way worse than I expected, and apparently not a problem in CF10. OR, it could be a certain unwelcome 'bot'. Which brings me to another question.
Instead of the CF method of reverse DNS (as it pertains to cgi.REMOTE_HOST), is there a way to get Apache to do the reverse DNS lookup and pass that along to CF?
! ! ! OR ! ! !
Is there a way to cache the reverse DNS value (cgi.REMOTE_HOST) so that it can be fed from memory?
I suspect that it is the dreaded LegiStorm bot (legibot) that is causing our issue of our metrics query timing out ("The request has exceeded the allowable time limit Tag: CFQUERY "). The error email includes the agentstring "LegiStorm Bot (http://www.legistorm.com/legibot.html)".
I think the bot is hitting our server hundreds of times a second (just a guess), causing our DNS lookup to do the same, and the target server is blocking the request after x number of attempts in one second, causing our insert of cgi.REMOTE_HOST into the database to freeze, triggering a timeout error.
V/r,
^_^
