shawn1m / overture

A customized DNS relay server
MIT License
1.79k stars 284 forks source link

Make ExtractDNSAddress uses IP from tcp-tls addr #204

Closed NyaMisty closed 4 years ago

NyaMisty commented 4 years ago

The original ExtractDNSAddress uses hostname in the tcp-tls address (dns.google:853@8.8.8.8) This behaviour will cause the host being resolved remotely instead of using specified IP when SOCKS5 is enabled, which is different from the behaviour when SOCKS5 is disabled.

shawn1m commented 4 years ago

Merged. Thanks!