DNS configuration to distribute traffic to multiple host on google cloud

妖精的绣舞 提交于 2021-01-28 02:53:38

问题


We have 2 servers hosting a particular service on google cloud. How to do a simple round-robin DNS configuration to distribute the load?


回答1:


According to this thread Google Cloud DNS does not support round-robin.




回答2:


You can set up DNS round robin with Cloud DNS simply by adding more than one IP address to your DNS record.

You might want to look into Google Compute Engine's Load Balancing options. This will allow you to have one IP address that sends traffic to your two servers. This has a few advantages, including that you can configure it to automatically stop sending traffic to an instance if it fails a health check.



来源:https://stackoverflow.com/questions/31825063/dns-configuration-to-distribute-traffic-to-multiple-host-on-google-cloud

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!