Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
714 views
in Technique[技术] by (71.8m points)

请问域名解析负载均衡,具体网页数据流量走的是负载机的IP还是服务器IP?

假设我有两台web服务器,配了两个公网IP。然后买了一个负载均衡服务,也配了公网IP,域名解析指向负载机,想做DNS的负载均衡,请问这时候流量是走负载机还是web服务器,或者两个都走?请问有什么办法只让解析的时候走负载机,实际访问走web服务器的外网端口?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

可以参考下阿里云负载均衡服务

  • 入网流量路径

  • 出网流量路径

总体原则:流量从哪里进来,就从哪里出去


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...