kitabisa / mubeng

An incredibly fast proxy checker & IP rotator with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Custom DNS To Stop Leaks

hbednar opened this issue · comments

Is your feature request related to a problem? Please describe.
If you are using a socks 5 proxy with hostnames then the hostname would be leaked.

Describe the solution you'd like
To stop this and also to have the option can you add support for custom DNS ideally over https or tls.

This could be done using kdig but, it would need knot-dnsutils installed.
Alternatively you could use dig.

kdig -d @8.8.8.8 +tls-ca +tls-host=dns.google.com example.com

dig @9.9.9.9 google.com +tls

Describe alternatives you've considered

Additional context

Could you please add more context on "[...] using a socks 5 proxy [...] the hostname would be leaked.", @hbednar?

What i am meaning is if you are using a socks5 proxy with just an ip, then all dns and other requests would be sent to that proxy, as expected.

But, if you were using a socks5 proxy with a hostname then, that would need to be resolved using your default dns before you could connect to that proxy.