Hi,
I am new with OpenWRT. I am using Adguard Home as my DNS. Completely randomly, every 3 to 7 days, Adguard home stops. It is no longer accessible, and it means none of the devices on the network have DNS access (so no internet access). If I restart adguardhome manually, it fixes it.
I want more info on this issue. But I couldn't find any way to get logs for adguard home. I searched a lot on the internet, didn't find any way to get the logs of a specific openwrt service. How do I do that ?
I know from adguard query log that it stopped working at 8:00. When I use logread, it only goes up to 15:00. So I have nothing related to adguard in it. How can I get logs further in the past ?
You can increase the system log buffer size in the System settings (or in /etc/config/system). The default 64 kB is ridiculously small for modern routers. (I change the default size to 256 kB or 384 kB in my own builds).
I don't think it would be because of the power of my router. It's an Asus RT-AX53U, at normal usage with some services enabled, (DynDNS, Upnp, Adguard...) I have still a lot of RAM / CPU left.
Logging to another device is interesting, I'll look into that to log on my rpi4.
I'm having the same issue and I have plenty of disk space and free RAM. I don't see anything in the logs (I have remote logging set up so I can see the entire log). Seems to happen every few days for me too. The only way I can fix it is by running service adguardhome restart.
Unfortunately my router has been having other unrelated difficulties so I haven't had a chance to run it for long without needing to restart it. It seems to have helped though, for what little time it has been up and running.
same problem here on a TP Link ER605 v2. I would switch to adblock-lean or something else, but as far as I can tell, adguardhome is the only one that allows you to assign different dns servers to different clients. If there is an alternative that can handle that use case then I'd be happy to switch. Adguard Home terminates pretty much every day for me even though service adguardhome status still shows running when this happens.