From e17d004e17a9b6aebcd22bdd80fe3460cfddfe59 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 22 Aug 2026 11:36:00 +0200 Subject: [PATCH] fix(swarm-lab): answer lab AAAA queries locally address=// covers only A records, so every AAAA lookup for the lab zone was forwarded to the public resolvers. When the manager node lost its upstream mid-run, glibc callers (Playwright request contexts) paid the full resolver timeout per lookup: 20s each, which blew the 30s request budget and the 60s persona budget. local=// makes dnsmasq authoritative for the zone, so AAAA is answered as NODATA from config instead of leaving the lab. Same idiom the tor onion template already uses. Co-Authored-By: Claude Opus 5 (1M context) --- compose/swarm/templates/dnsmasq.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/swarm/templates/dnsmasq.conf.j2 b/compose/swarm/templates/dnsmasq.conf.j2 index f5340d8434..ef198a34b5 100644 --- a/compose/swarm/templates/dnsmasq.conf.j2 +++ b/compose/swarm/templates/dnsmasq.conf.j2 @@ -4,3 +4,4 @@ server=/{{ lab_mgr }}/{{ lab_wrk1 }}/{{ lab_wrk2 }}/{{ lab_nfs }}/{{ NETWORK_DOC server={{ resolver }} {% endfor %} address=/{{ lab_domain }}/{{ lab_domain_target }} +local=/{{ lab_domain }}/