Fixing DNS timeouts in Docker with a DNS cache [Tutorial]
Having flaky tests in your CI is a nightmare. You can’t tell whether your new code broke something or if it’s just those tests being flaky again. So anytime we see strange, random failures in CI for our open source project, Adapt, we try to track down the culprit ASAP. This is the story of how we discovered we were (accidentally) flooding our DNS server with traffic and how we used a DNS cache in Docker to solve the problem.