Skip to content

Use Windows API to get dns nameservers #1196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

blink1073
Copy link
Contributor

@blink1073 blink1073 commented May 7, 2025

Fixes #1191

As far as I can tell the only two ways of getting the search list are using COM or the registry, so I subclassed the registry getter.

Testing with a PR against my fork so I can run actions: blink1073#1

  • Get it to pass in GitHub Actions
  • Get it to pass in PyMongo CI
  • Establish how to configure the usage of this getter

@blink1073
Copy link
Contributor Author

@jaraco might you be able to verify that this fixes the issue for you as well? For PyMongo the relevant change was that we needed to ignore a loopback adapter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolver uses DNS Servers from inactive interfaces on Windows, causing timeouts
1 participant