As I already said, the code doesn't work with NetDNA, so there is nothing to fix. A different approach must be taken, and I am looking for solutions other than that which is already broken. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237609,237655#msg-237655