dnsdist: do not iterate over hash map for chashed based query distribution #6939
This changes how consistent hashing based query distribution is made to use
Thank you so much for writing this fix! I prepared binary package with this patch and it works very well.
Before this patch, each lookup to dsndist consumed about 200ms:
After applying patch, lookup time decreased drastically :
Direct lookup to 126.96.36.199 or 188.8.131.52 from my machine is about 2ms.