Get the latest tech news

Understanding Round Robin DNS


In which I try to understand how browsers and Cloudflare choose which server to use

Normally, when you are serving a website from a VPS like Digital Ocean or Hetzner, you add a single A record in your DNS provider's control panel. It's also free, and you can do it on any DNS provider, whereas Load Balancing solutions can get really expensive (even on Cloudflare, which is otherwise very reasonably priced). Also, an interesting behavior on Chrome was when not using HTTP/2: it can sometimes choose randomly between two servers, creating a pattern like this.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Robin DNS

Robin DNS

Photo of Round Robin DNS

Round Robin DNS