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

后端动态域名解析使用的是哪个插件,我尝试使用 jdomain 无法通过测试 #12

Open
v55448330 opened this issue Jan 22, 2024 · 1 comment

Comments

@v55448330
Copy link

后端动态域名解析使用的是哪个插件,我尝试使用 jdomain 无法通过测试

@alexzzh
Copy link
Owner

alexzzh commented Apr 30, 2024

https://github.com/GUI/nginx-upstream-dynamic-servers

使用该模块前请多了解其内部实现,我们引入该模块后进行了大量测试,修复了一些bug并最终在需要证券(需要高稳定性)行业上线,测试用例可参考:

5551714443964_ pic

值的一提的是:可以考虑nginx是否一定要使用动态域名解析模块,如果不使用带来的影响(启动过程,本地域名解析失败会导致启动失败,无法实时感知域名对应的ip变化等)是否可以接受,毕竟域名对应的地址变更是不常见的,如果使用本地域名解析就能解决客户需求,建议非必要务引入动态域名解析模块,毕竟该模块不是特别稳定。
也可以考虑使用外部脚本周期探测域名是否变更,变更时reload nginx,参考 GUI/nginx-upstream-dynamic-servers#18 (comment)

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

2 participants