systemd-resolved: a network's own servers answer while the mesh's resolvers are silent (issue 1981) #704

Merged
mesh-tools merged 3 commits from fix/1981-sign-in-page-names into main 2026-11-24 13:00:43 +00:00
3 Commits
Author SHA1 Message Date
jochen 8f21a7a5de Merge main into fix/1981-sign-in-page-names: systemd-resolved keeps main's class core and raises its version to 0.2 (issue 1981) 2026-11-24 13:56:04 +01:00
jochen 7fd6d89567 systemd-resolved: find the links to give back from resolved, never a routed one; answer-within is a config value (issue 1981 review)
The guard kept the links it had turned off in memory, so a VPN link turned
off before it was routed got its default route back, and a guard restarted
behind a sign-in page gave nothing back. It now reads them from resolved
each round and skips a link whose domains are all routing domains. How long
a mesh resolver is given to answer is the config value answer-within.
2026-11-19 09:50:08 +01:00
jochen cddfeba266 systemd-resolved: let a network's own servers answer while the mesh's resolvers are silent (issue 1981)
Behind a guest network's sign-in page the private network is out of reach,
and the guard sent every name to the mesh's resolvers, so the sign-in page
itself could not be found. The guard now asks the mesh's resolvers each
round and gives the links it turned off their default route back while none
answers; once one answers they lose it again.
2026-11-19 09:31:54 +01:00