On 2018-02-05 09:12, Benny Pedersen wrote:
Kevin A. McGrail skrev den 2018-02-05 16:53:
I don't think that will apply will it because it will be looking up
something like 1.2.3.4.bb.barracuda.blah which isn't cached.
the first qurry can make a qurry with very low ttl, so it would not be
cached, that means number 2 query still mkae dns query to that zone :(
How low are the TTLs? I'm seeing 300 seconds on 127.0.0.2 which is more
than sufficient time for a single message to finish processing, such
that multiple queries from one message would absolutely be cached (or
more likely, the first would still be pending and the second would get
the same answer as the first).
;; ANSWER SECTION:
2.0.0.127.bb.barracudacentral.org. 300 IN A 127.0.0.2
Maybe the TTLs are different for other records?
I am also noticing very intermittent response times, sometimes taking
over a second to get a response, other times taking under 50ms.