Map fleet IPv6 overlay addresses in Nebula mesh hostMap and resolver #310
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nix-idioms-hygiene
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#310
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
All fleet v2 Nebula certificates (Vega, Lyra, Lena, Electra, Nova, Mass-storage, Media1, Nimmog-de, Pangolin-VPS, Phone, Router) have been minted with IPv6 overlay addresses in the
fd56:f458:569c::<id>/64subnet. However,modules/networking/nebula.nixcurrently has two gaps in its dual-stack address mapping:nixosConfig.nebula.ipv6HostMapcurrently includes onlypangolin-vps,nova,mass-storage,media1,nimmog-de,router,phone, andelectra. The active NixOS nodesvega(fd56:f458:569c::2),lyra(fd56:f458:569c::3), andlena(fd56:f458:569c::21) are missing. Consequently,/etc/hostson peers and CoreDNS static zones on resolver nodes lack AAAA records for these hosts.networking.hostsinmodules/networking/nebula.nixcurrently excludes the local host (lib.filterAttrs (name: _: name != hostname)). As a result,<hostname>.meshdoes not resolve locally on the node hosting a service. Services or local agents referencingvega.meshwhile running on Vega cannot resolve their own mesh name via/etc/hosts.Scope
vega,lyra, andlenatonixosConfig.nebula.ipv6HostMapinmodules/networking/nebula.nix.<hostname>.mesh(and bare<hostname>if applicable) resolves locally on the host itself (e.g. mapping to loopback127.0.0.1/::1or the host's overlay IPs).coreDnsStaticZonesemits correct A and AAAA records for all active mesh members.Checklist
vega(fd56:f458:569c::2),lyra(fd56:f458:569c::3), andlena(fd56:f458:569c::21) toipv6HostMapdefault inmodules/networking/nebula.nix.networking.hostsso<hostname>.meshresolves on each host without breaking local binding or external reachability./etc/hostsgeneration and CoreDNS static zones on all affected NixOS host configurations.nix flake checkand all repository validation checks.getent ahosts <name>.mesh,ping6 <name>.mesh) across both local and remote mesh peers.