I am trying to find a way how to filter out specific DNS request (TXT record type) on Windows. I tried to put the requested domain in win/sys32/etc/hosts but it still goes through to my DNS servers. One way would be to block port 53 traffic for an application, or even block all traffic to my DNS server for the application, but I'm trying to avoid that. Is there any way to filter specific packet? I can provide wireshark dump if it's needed, or most other information about the packets in question.