Skip to content

v1.3.4 hardcoded 8.8.8.8 as the DNS resolver #44

Description

@dyhkwong

To workaround DNS resolution failure when compiled without cgo enabled on Android, V2Ray added a hack to hardcode 8.8.8.8 as the DNS resolver (v2fly/v2ray-core#572 and v2fly/v2ray-core#767). When Go program is compiled with cgo enabled, such a problem does not exist. However, even if V2Ray is compiled with cgo enabled, the hack still takes effect.

As a result, if the server address is a domain name, DNS resolution loopback (when the plugin is running under Android VPN "protect" mode) and DNS poisoning will happen.

I have opened a pull request in v2fly/v2ray-core#3755.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions