How to disable DNS caching?

Restart the dnsmasq service which find it in the Luci:

If enabled the ADGuard, please restart ADGuard first, then dnsmasq.