Since like 2-3 weeks I have a constant issue with dnsmasq. It stops working and logging error:
dnsmasq[1]: failed to send packet: Resource temporarily unavailable
There is nothing in logs what will indicate obvious issues. Upstream DNS servers are fine. What I usually do is restarting dnsmasq service and it starts working again for few hours (sometimes minutes). I was running OpenWrt 24.10.0 when this issue started. I updated to latest stable OpenWrt 24.10.1 and issue persist. I even installed dnsmasq-full to see if this fix it.
I ended up with writing my shell script which test each few minutes if dnsmasq responds on LAN interface to DNS query and restart it if not.
I run OpenWrt for 3 or even 4 years and I haven't got any serious issues until now. My hardware is BT Home Hub 5A (lantiq/xrx200).
Does anybody have some ideas where to look to solve this issues.
I may end up with configuring whole router from scratch but I have quite big configuration (multiple zones, lots of static ip leaeses and few more things) and I'm trying to avoid this.
For testing purpose I decided to downgrade OpenWrt version to previous mayor release 23.05.5 and all issues disappeared. I'm running this version for currently 24 hours and it was no single issue with dnsmasq.
Maybe 24 hours is not enough for saying that issues is gone but will wee after few days.
my 24.10.1 is using a different version of dnsmasq, or is it a C&P error ?
OpenWrt 24.10.1, r28597-0425664679
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# opkg list-installed | grep dns
dnsmasq - 2.90-r4