dnsmasq: Restart=on-failure gegen Boot-Race mit enp7s0
This commit is contained in:
@@ -54,6 +54,7 @@ mehr von Hand in `dnsmasq.d` gepflegt, sondern über das Tool
|
||||
| DHCP + DNS | dnsmasq: DHCP-Pool, Gateway/DNS-Option, DNS-Forwarding | `/etc/dnsmasq.d/lan.conf` | [`config/dnsmasq.d/lan.conf`](config/dnsmasq.d/lan.conf) |
|
||||
| DNS-Includes aktiviert | eine Zeile in `/etc/dnsmasq.conf` einkommentiert: `conf-dir=/etc/dnsmasq.d/,*.conf` | `/etc/dnsmasq.conf` | – (Rest der Datei ist Debian-Standard, nicht gespiegelt) |
|
||||
| Statische Hosts (DHCP-Reservierung + DNS) | von `ipadm` generiert, **nicht** von Hand editieren | `/etc/dnsmasq.d/hosts.conf` (generiert) + `/etc/ipadm/hosts` (Datenbank) | – (live Daten, siehe [`tools/ipadm/`](tools/ipadm/)) |
|
||||
| dnsmasq-Resilienz | `Restart=on-failure` (Default war `no`), damit dnsmasq bei einem Boot-Race mit `enp7s0` nicht dauerhaft tot bleibt | `/etc/systemd/system/dnsmasq.service.d/override.conf` | [`config/systemd/dnsmasq.service.d/override.conf`](config/systemd/dnsmasq.service.d/override.conf) |
|
||||
|
||||
Installiertes Paket: `dnsmasq` (übernimmt sowohl DHCP- als auch
|
||||
DNS-Server-Rolle). `nftables` war bereits installiert, wurde aber aktiviert
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
Reference in New Issue
Block a user