Skip to content
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

Create dns_query_service.dart and Add some code in api.service to Fix #14938 #14955

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Jackie264
Copy link

I am a beginner and not familiar with writing code. This is also my first pull request. Please forgive me if there are any shortcomings.

Resolves the server endpoint and sets the base path for the API client.

If DNS resolution fails, it falls back to the original server URL.
Logs the resolution process for debugging.
@bo0tzz
Copy link
Member

bo0tzz commented Dec 27, 2024

Thanks for the PR!

I don't think there's any reason to be doing our own raw DNS queries. Please use either whatever builtins Dart has, or a third party library.

@alextran1502
Copy link
Contributor

Hello, thank you for the PR. Can you link the issue that this PR will fix?

@bo0tzz
Copy link
Member

bo0tzz commented Dec 27, 2024

#14938

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

Successfully merging this pull request may close these issues.

3 participants