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.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user