Skip to content

DNS/DHCP: Improve error visibility and troubleshooting for dnsmasq failures #1278

@Tbaile

Description

@Tbaile

Summary

When dnsmasq fails (e.g., due to misconfiguration such as setting option 42 ntp-server to a non-IP value), users may lose DNS resolution and DHCP functionality. This is not always evident in the current UI, leading to confusion and delayed troubleshooting.

Proposed solution

  • Add a card to the home/dashboard displaying DNS & DHCP status, reflecting the state of the dnsmasq service.
  • The card should perform periodic status checks (e.g., ping /etc/init.d/dnsmasq status).
  • If dnsmasq is down, display a button linking directly to the log page, with a pre-filled search for 'dnsmasq' to facilitate error diagnosis.
  • Consider also displaying a warning in the DNS/DHCP section of the UI.

Purpose
This enhances user awareness of critical DNS/DHCP failures and streamlines troubleshooting.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

ToDo 🕐

Relationships

None yet

Development

No branches or pull requests

Issue actions