Skip to content

in windows if my wifi only support ipv4 "localhost" dns only return ipv4 ! #4304

@patterniha

Description

@patterniha

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest Release

Description

#4302 fixed by #4303
but still another problem for windows:

in windows if my wifi only support ipv4, "localhost" dns, only return "ipv4" even if queryStrategy is UseIP!

but in linux it doesn't matter your wifi support ipv6 or not and correctly return ip version base on queryStrategy.
so in linux even if your wifi only support ipv4, "localhost" dns return both ipv4 and ipv6 if queryStrategy is UseIP.

this problem does not exist for other types of dns (udp,tcp,doh,...)

Metadata

Metadata

Assignees

No one assigned

    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