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

华为云没有负载均衡效果 #143

Open
qwIvan opened this issue May 18, 2024 · 0 comments
Open

华为云没有负载均衡效果 #143

qwIvan opened this issue May 18, 2024 · 0 comments

Comments

@qwIvan
Copy link

qwIvan commented May 18, 2024

华为云是一次添加一个记录集,而一个记录集可以包含多个A记录的。
这样dns解析可以一次返回多个IP,达到负载均衡的效果。
如果同一子域名添加了多个记录集,那么华为云会随机返回其中一个记录集。

在dnspod中,如果同时配置了两个相同子域名的A记录,dnspod也会一次返回两条记录,从而达到负载均衡的效果。相同的操作在华为云中就是不同的效果了。

现在我3大运营商每个配置5个ip,网页上总共会有15行,华为云会在15行中随机返回一条,而不是返回同一运营商的5条记录,这个逻辑和dnspod不一样。
正确的方法应该是在网页上配置3行,每行配置5条A记录。

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