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 คือเทคนิค load balancing แบบง่ายที่เชื่อม [[a-record|A record]] หรือ [[aaaa-record|AAAA record]] หลายรายการที่มี [[ip-address|IP address]] ต่างกันเข้ากับ hostname เดียว [[recursive-dns|Resolver]] จะวนเวียนผ่านที่อยู่ตามลำดับ กระจายการเชื่อมต่อขาเข้าไปยังเซิร์ฟเวอร์หลายเครื่อง เนื่องจาก round robin พึ่งพาการสุ่มในระดับ DNS แทนการตระหนักรู้เซสชัน จึงไม่มีการตรวจสอบสุขภาพหรือ sticky session เซิร์ฟเวอร์ที่ล้มเหลวจะยังคงรับ traffic จนกว่า record จะถูกอัปเดตด้วยตนเองหรือ [[ttl|TTL]] หมดอายุ ทางเลือกที่ซับซ้อนกว่าได้แก่ Anycast routing, GeoDNS และ application-layer load balancer
ตัวอย่าง
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.