MINOR: dns: introduce roundrobin into the internal cache (WIP)
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 4 May 2017 06:24:11 +0000 (08:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 Jun 2017 09:40:39 +0000 (11:40 +0200)
commit8ea0bcc911809e77560bdd937c02a0b832526ef7
tree658260a130f49a798328ab6132ad6d97b4365b81
parent69fce67b56f2fda613604e0520adb64d209041a8
MINOR: dns: introduce roundrobin into the internal cache (WIP)

This patch introduces a bit of roundrobin in the records stored in our
local cache.
Purpose is to allow some kind of distribution of the IPs found in a
response.
Note that distribution properly applies only when the IP used by many
requesters disappear and is replaced by an other one.
src/dns.c