I want to register visited websites in the system. Therefore, I decided to write packets sent by the system. I am using the Jpcap API. I can write a lot of packages. Now, what I want to do, I want to filter only DNS packets. I think it will be possible to register websites.
I need a way to filter DNS packets. How can i do this?
source
share