lexicon icon indicating copy to clipboard operation
lexicon copied to clipboard

Socks5 proxy support for communicating with DNS providers.

Open hongyi-zhao opened this issue 3 years ago • 2 comments

Does lexicon support socks5 proxy when communicating with DNS providers?

Regards, HY

hongyi-zhao avatar Jan 25 '21 03:01 hongyi-zhao

Well, it depends on your usecase, but I would say that it is out of reach of Lexicon. Most providers will make TCP requests on dedicated URLs using the default network stack, so if you configure your machine to create a tunnel for the outgoing traffic through a Socks5 proxy, Lexicon will use it also.

adferrand avatar Feb 03 '21 19:02 adferrand

if you configure your machine to create a tunnel for the outgoing traffic through a Socks5 proxy, Lexicon will use it also.

I mean to set the socks5 proxy on the side of lexicon when going through the network stack, say, by using socket module/pysocks, environment variable, and so on.

hongyi-zhao avatar Feb 03 '21 23:02 hongyi-zhao