Unbound dns & adguard home shows me these errors

I would very thank full to some expert who help to fine tune the unbound/adguardhome on dietpi optimization. unbound & adguard home showing error in UDP connection with default deitpi configuration. in some places it is written to increase memory size like

sysctl -w net.core.rmem_default=7864320
sysctl -w net.core.rmem_max=26214400
sysctl -w net.core.wmem_default=7864320
sysctl -w net.core.wmem_max=26214400
 

to change this they are asking for edit file /etc/sysctl.conf but in dietpi trixie this file does not exist. so some thing is change while we upgrade from bookworm to trixie.