FULL AI ANALYSIS

Clients keep DHCP leases but lose local mDNS/hostname resolution until home router reboot

Generated Oct 23, 2026, 9:39:07 AM

Analysis summary

mDNS is multicast‑based and can fail when the router's dnsmasq, IGMP snooping, or firewall blocks multicast or when dnsmasq reaches resource limits and refuses queries. The 'REFUSED' log suggests dnsmasq treating queries as unsupported (e.g., queries forwarded to the internet or rate-limited). Packet-loss spikes indicate either a multicast suppression feature or CPU overload on the router at failure time. Reboot clears transient state, pointing to resource exhaustion or leaking mappings in dnsmasq.

Possible causes

dnsmasq hitting resource limits (max cache, query rate limits) or leaking state causing it to refuse/respond incorrectly to mDNS queries

60%

IGMP snooping or multicast routing on switch or router caching stale group memberships, dropping mDNS packets to some ports

45%

Router firewall or UPnP/IGD module misclassifying mDNS and blocking requests under load

30%

Client Avahi/Bonjour service conflicts or flapping causing excessive queries and triggering dnsmasq protections

20%

Suggested fixes

1

Diagnostic step 1

Increase dnsmasq limits: bump cache-size, query-port, and disable query logging; check /etc/config/dnsmasq and restart service after changes

2

Diagnostic step 2

Disable any multicast filtering/IGMP snooping on managed switch and router temporarily to see if problem stops; if so, add static IGMP groups or tune snooping settings

3

Diagnostic step 3

Enable verbose dnsmasq logging, capture tcpdump for UDP/5353 at both router and a client when issue occurs to confirm whether packets reach router

4

Diagnostic step 4

Upgrade OpenWrt/dnsmasq to latest stable version with mDNS fixes, and consider moving mDNS handling to a dedicated Avahi reflector on LAN if cross‑subnet discovery needed

5

Diagnostic step 5

If dnsmasq shows 'REFUSED', investigate ACLs and domain settings — ensure LAN queries aren’t being forwarded externally or rejected by a domain rule