how to increase buffer size for a DNS container using doq

using a ctrld proxy container for DNS requests. when enabling doq , it complains about buffer size which seems to be derived from underlying OS(routerOS):

2025/04/25 20:24:54 failed to sufficiently increase receive buffer size (was: 176 kiB, wanted: 7168 kiB, got: 352 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes

As stated here you can mute this message with environment variable QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING with value set to true. AFAIK you cannot change kernel TCP window / UDP buffer size in ROS.

Am interested in increasing buffer size not just muting message.do not want my DNS server to throw errors as a result of this

Try to create support ticket for this requirement.

from support:
“Kernel parameters cannot be changed due to limitations in our container implementation. We are sorry for the inconvenience caused.”

That is obvious, but it seems they are not willing to expose such parameters as ROS configuration, probably to avoid possibility for making system unstable by user config.

They can provide/enforce ranges within which users can operate safely. If there are enough users requesting it they might consider it