From 4bf5eef2fda54a2abcc1bc1895bd1693458b3b87 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 5 Oct 2026 22:07:28 +0200 Subject: [PATCH] A machine's mesh name has no IPv6 address rather than no name (hq issue 262) The resolver answered a machine's name only by wildcard, which says there is no such name when asked for an IPv6 address; musl reads that as final, so Alpine containers could not find a machine at all. A host record per machine answers that the name exists and has none, as the hosts file the per-machine resolvers read used to. --- modules/dnsmasq/module.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnsmasq/module.json b/modules/dnsmasq/module.json index 8edd77c..b252a69 100644 --- a/modules/dnsmasq/module.json +++ b/modules/dnsmasq/module.json @@ -76,7 +76,7 @@ "facts": { "node-zones": { "path": "/etc/mesh-resolver/nodes.conf", - "template": "# Generated by the mesh. Do not edit — this file is replaced whenever a machine\n# joins or leaves, and an edit would survive until then and vanish.\n\nlocal=/{{.Suffix}}/\n{{range .Machines}}address=/{{.FQDN}}/{{.Address}}\n{{end}}" + "template": "# Generated by the mesh. Do not edit — this file is replaced whenever a machine\n# joins or leaves, and an edit would survive until then and vanish.\n\nlocal=/{{.Suffix}}/\n# A machine's own name is a host record as well as a wildcard: asked for an IPv6 address, the\n# resolver then says the name exists and has none, where the wildcard alone said there is no such\n# name — and a resolver that reads that as final (musl, so every Alpine container) failed to find\n# the machine at all (novox/hq issue 262).\n{{range .Machines}}address=/{{.FQDN}}/{{.Address}}\nhost-record={{.FQDN}},{{.Address}}\n{{end}}" }, "zones": { "path": "/etc/mesh-resolver/zones.conf",