Disable Logging DNS,Packet

Hello, How to stop logs from dns topics, packets like in the picture. Hopefully friends can help me. Because this log causes unnecessary logs to be full.
I have tried the configuration as in image 1 but there is no effect on image 2.
PICTURE 1
2024-08-27_111953.jpg
PICTURE 2
2024-08-27_104528.jpg

Hello! You have to define the topic DNS without “!” because this excludes DNS too, the topic of wich you want to disable logging.
A working topic should look like this:

dns, !info, !packet, !debug