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.