H
H
hr_lolka2017-07-12 11:47:08
Domain Name System
hr_lolka, 2017-07-12 11:47:08

How to determine dns addresses through a proxy?

Whether it is possible to receive the list of dns proxy without using at the same time the browser (perhaps ie)? Preferably using c#?
As far as I know, when using a proxy, dns addresses also go with it (tested on firefox: settings - additional - network - configure and check the box "send dns requests through proxy ..", if you do not check the box, then by going to whoer we will see dns systems).
I tried to access sites with a webbrowser to determine dns (both with and without a proxy), but for some reason dns addresses were not issued

webBrowser1.Navigate("https://whoer.net");
            webBrowser1.ScriptErrorsSuppressed = true;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2017-07-12
@z3apa3a

"send dns requests through a proxy .." this is apparently a bad translation, because, in fact, no dns request is sent, it's just that in the proxy in the request for a DNS connection, instead of the IP address, the name is left. The client does not receive a response with the server address, the proxy server handles the connection itself.
You can send DNS traffic through a proxy, for example with a configuration like this 3proxy
auth iponly
nscache 65536
nserver 127.0.0.1:5353/tcp
dnspr -i127.0.0.1
flush
allow *
parent 1000 socks ip_of_the_socks port_of_the_socks login password
tcppm -i127.0.0.1 5353 8.8.8.8 53
there will be a DNS resolver on port 53 that redirects DNS queries to Google's DNS through the parent proxy. But it will work slowly, of course.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question