systemd-resolved: routes answers the uplink's names and the mesh's fallback (issue 960)
routes (bus and the machine socket) gains uplink_names {names, link,
refused}, the applied list's names resolved holds on that link now, never
the file's, and mesh_resolvers {silent, since} from the guard's fallback
state. The guard writes that state at each of ADR 0688's two turns, and
once more at its own first round, since it goes at every boot.
Builds: design 08 sign-in-page §2, §8, §9
This commit is contained in:
@@ -81,7 +81,8 @@ func tools(r *Resolver, history string) []stdio.Tool {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return map[string]any{"mesh": routes.Mesh, "links": routes.Links, "outside_writes": ReadHistory(history)}, nil
|
||||
return map[string]any{"mesh": routes.Mesh, "links": routes.Links, "outside_writes": ReadHistory(history),
|
||||
"uplink_names": r.UplinkNamesAnswer(routes), "mesh_resolvers": r.MeshResolversAnswer()}, nil
|
||||
}),
|
||||
verb("route", "Send these domains, and every name under them, to these servers over this link, and only "+
|
||||
"them: the link never answers other names, and the mesh's own domain is refused. Replaces whatever the "+
|
||||
|
||||
Reference in New Issue
Block a user