To use DNS for load balancing, just point the domain name resolution to the IP addresses of the three ECS servers (note that the host name must be consistent). You can set the weights in the domain name console. However, the biggest disadvantage of using DNS with load balancing is that you cannot remove faulted servers. That is to say, if an ECS server goes down, requests will continue to be sent to this ECS. I personally recommend nginx/Apache for load balancing, or Alibaba Cloud Server Load Balancer.