dnsmasq: ask the resolver a real question, and restart it when it stops answering (hq issue 348)

On 2026-10-09 the control node's dnsmasq stayed active and running, its
journal silent, and refused every question on its private address for
twenty minutes; nothing in the module looked past the unit.

The module is now Go (its TypeScript tools were never served): a root
watch asks the machine's own name on every listen address over UDP and
TCP every 15s, restarts the unit after two failing looks (2 min apart,
3 an hour), and says whether that helped. dnsmasq_health is the watch
process's declared check, so a restart that did not help becomes the
module's unhealthy condition; the service is judged by its unit.
This commit is contained in:
2026-10-09 15:04:45 +02:00
committed by jochen
parent 954e3e2087
commit 2b2397abe0
15 changed files with 1321 additions and 155 deletions
+5
View File
@@ -0,0 +1,5 @@
module dnsmasq
go 1.25.0
require git.novox.be/novox/mesh-sdk/go v0.1.7