Skip to content

dns.resolver.override_system_resolver doesnt work in windows #1089

@AliGhaffarian

Description

@AliGhaffarian

Describe the bug
either i dont understand the purpose of the function or this really doesnt work
i wanted to get the resolution of a domain from a dns server i chose not the system so i looked it up in the doc and this seemed to be my answer

To Reproduce
resolver.override_system_resolver("178.22.122.100")
resolver.resolve("epicgames.com", "A")
then i can clearly see that epicgames.com is resolved by my systems dns server ( via wireshark )

Context (please complete the following information):

  • latest version currently present in pip
  • Python 3.11.9
  • OS: Windows 11 Pro 23H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions