We actually try to always be beyond the release candidates and apply all patches that are approved by Simon. So we are most up-to-date all the time and new stuff can already be tested before the next release-candidate is enumerated.
Coro's statement is not correct. The query ID is compared here:
for (src = &forward->frec_src; src; src = src->next)
if (src->orig_id == ntohs(header->id) &&
sockaddr_isequal(&src->source, udpaddr))
break;
This code says:
- When the query comes from the same source (IP address) and has the same ID: retried query
- Otherwise: repeated query
Simon's patch will reduce the number of packets send upstream only if you have multiple forward destinations. It will not change anything if you have only one (like a local unbound
sitting at 127.0.0.1#5353
). It seems we cannot have anything better at this time.
I just pushed the last patch from Simon along with the necessary FTL changes. Please also watch if strange things happen to the over-time graphs and/or query type pie chart (like any strange negative counts, etc.). I had to change something in the underlying datastructure as well and, as you know, every change may have unintended side effects.