Answer the question
In order to leave comments, you need to log in
How to intercept the DNS of the site that the user has visited?
Hello. Let's say a console application is running on a PC, the user is surfing the Internet at that time. How to get the ip and dns of the sites he visits?
Answer the question
In order to leave comments, you need to log in
DNS for the site is used by the system. Those DNS settings that are installed on the machine with the site you will not get just like that, without having access to it.
How to get the IP of a site - you can get it by name.
It is more interesting to understand exactly what the user is visiting. Sniffer utilities are needed here.
A similar question was discussed on stackoverflow.com - https://stackoverflow.com/questions/16767562/websi...
Also, you can read the article on codeproject.com - https://www.codeproject.com/Articles/17031/ A Network...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question