The program that manages a machine's network is the one that would rewrite the resolver file, so its module now writes it: networkmanager, systemd-networkd and dhcpcd render the same template from the resolver's holders. resolv-conf declares nothing for one release, so every machine hands the file over in one apply; it is removed once unassigned everywhere.
9 lines
597 B
Markdown
9 lines
597 B
Markdown
# resolv-conf — retiring
|
|
|
|
`/etc/resolv.conf` belongs to the module holding `node-uplink` (novox/hq ADR 0223): networkmanager,
|
|
systemd-networkd and dhcpcd each write it, listing the mesh's resolvers. This module declares
|
|
nothing any more. It stays in the catalogue for one release so that the file passes from it to the
|
|
uplink's holder in one apply on every machine — the host hands a whole file to the resource
|
|
declaring its path now, rather than removing it first. Once every machine has applied that, it is
|
|
unassigned everywhere, forgotten, and removed with the seat `node-resolver-config`.
|