<div dir="ltr">Hello,<br><br>I've noticed some queries recently for hostnames with large sets of A records which return a NOERROR response with no answers and the TC flag set when queried over UDP. There's no TTL on anything, so nothing is cached. The client then retries over TCP, and gets the full answer, which is cached by dnsdist.<br><br>The client then queries again starting over UDP, which doesn't hit cache, and goes through to the downstream, before retrying over TCP. This means that while the full response is cached and is served the next time the client queries over TCP, the UDP queries keep going all the way through to the downstream.<br><br>Is that something that's expected to happen once the full response has been returned from a downstream over TCP? Is there some way to force TC responses to have at least some minimal TTL? Or some way to have dnsdist use its cached response rather than going back to the downstream in that case on UDP queries?<br><br>An example hostname I was seeing this happen with is: <a href="http://grid-use.bidswitch.net">grid-use.bidswitch.net</a><br><br>Anyone have any clever tricks to ease the load on the downstreams?<br><br>Thanks,<br><br>-Dan<br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table width="100%" style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:22px"><tbody><tr><td width="55px" valign="top" style="padding-right:12px"><br><img src="https://digitaloceanspace.nyc3.digitaloceanspaces.com/do-sig_files/do-email_signature.png" style="width:50px"></td><td><div style="color:rgb(34,34,34);font-weight:bold;margin-top:4px"><br>Dan McCombs</div><div style="color:rgb(34,34,34);margin-bottom:12px">Senior Engineer I - DNS</div><div><a href="mailto:dmccombs@digitalocean.com" style="color:rgba(51,51,51,0.75);font-size:14px" target="_blank">dmccombs@digitalocean.com</a></div></td></tr></tbody></table></div></div></div></div>