DNS Round Robin
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/dns-round-robin/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/dns-round-robin/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/dns-round-robin/)
Use the native HTML custom element.
DNS round robin là kỹ thuật cân bằng tải đơn giản, trong đó nhiều [[a-record|A record]] hoặc [[aaaa-record|AAAA record]] với các [[ip-address|địa chỉ IP]] khác nhau được liên kết với một hostname duy nhất. [[recursive-dns|Resolver]] xoay vòng qua các địa chỉ theo thứ tự, phân phối kết nối đến nhiều server. Vì round robin dựa vào ngẫu nhiên hóa ở cấp DNS thay vì nhận thức phiên, nó không cung cấp kiểm tra tình trạng hay sticky session; server bị lỗi vẫn tiếp tục nhận lưu lượng cho đến khi record được cập nhật thủ công hoặc [[ttl|TTL]] hết hạn. Các giải pháp thay thế phức tạp hơn bao gồm định tuyến Anycast, GeoDNS và bộ cân bằng tải tầng ứng dụng.
Ví dụ
A website with three servers at 1.2.3.4, 1.2.3.5, and 1.2.3.6 can list all three as A records for www.example.com; successive DNS lookups return them in rotation, spreading traffic roughly evenly across all three servers.