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

MOSN takes too long to start when some dns servers are not working #2378

Open
dengqian opened this issue Feb 21, 2024 · 0 comments
Open

MOSN takes too long to start when some dns servers are not working #2378

dengqian opened this issue Feb 21, 2024 · 0 comments

Comments

@dengqian
Copy link
Contributor

Describe the bug

In some online environment, one of my dns server is not working, in this case MOSN process will take a long time to start, because some of my hosts are domains, GetOrCreateAddr will take two second for every domain resolution.

Expected behavior

use go GetOrCreateAddr to replace GetOrCreateAddr to reduce domain resolution time

Actual behavior

Steps to reproduce

Minimal yet complete reproducer code (or GitHub URL to code)

Environment

  • MOSN Version
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

No branches or pull requests

1 participant