AdGuard Home (Buffer Size)

Hi,

I sometimes analise my Flint3 logs in search for clues about potential issues or optimizations, a few days ago I came across the following line that appears quite often:

[error] dnsproxy: unpacking udp packet err="dns: buffer size too small"

After some research, I found out the the default buffer size if not specified on the AGH configuration file (config.yaml) is 512kb, witch is quite small and can end up with this kind of error.

I edited the file and placed the following line right after the start of the dns section:

edns_buffer_size: 4096

Cleared the system logs and checked a few days after, the fix did the trick, no more error about buffer size too small.

Hope this helps if someone else has this issue, and something to improve on future firmware upgrades.

3 Likes

Hi

Thank you for sharing the solution.

We will keep an eye on how frequently this issue is reported and discuss with the product and development teams whether it would be feasible to make this the default behavior in future firmware releases.

1 Like