PSA: Docker 29.1.0 breaks DNS (SERVFAIL via 127.0.0.11). Affects existing containers
If your containers suddenly cannot resolve DNS and nslookup via 127.0.0.11 returns SERVFAIL, it is a known regression in Docker Engine 29.1.0.
It seems to affect existing containers that were created before the upgrade. Doing a full docker compose down followed by docker compose up -d usually fixes it because it forces container recreation.
GitHub issue:
https://mobile.github.com/docker/cli/issues/6684
Workarounds:
- Recreate containers with down then up
- Set DNS servers explicitly in your compose file
- Or downgrade to Docker 29.0.4 which does not have this problem
TL;DR:




