mubeng icon indicating copy to clipboard operation
mubeng copied to clipboard

[FEATURE] Custom DNS To Stop Leaks

Open hbednar opened this issue 2 years ago • 2 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

hbednar avatar Aug 22 '23 11:08 hbednar

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

dwisiswant0 avatar Aug 28 '23 23:08 dwisiswant0

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.

hbednar avatar Aug 31 '23 12:08 hbednar