Why There Are Only 13 DNS Root Name Servers

13 server names is a constraint of IPv4

The DNS root name servers translate URLs into IP addresses. These root servers are a network of hundreds of servers in countries around the world. However, together they are identified as 13 named servers in the DNS root zone.

Illuminated server room panel
Hoxton / Tom Merton / Getty Images

How Many DNS Servers Are There?

There are a couple of reasons the internet Domain Name System uses exactly 13 DNS servers at the root of its hierarchy. The number 13 was chosen as a compromise between network reliability and performance, and 13 is based on a constraint of Internet Protocol (IP) version 4 (IPv4).

While only 13 designated DNS root server names exist for IPv4, each of these names represents not a single computer, but rather a server cluster consisting of many computers. This use of clustering increases the reliability of DNS without any negative effect on its performance.

Because the emerging IP version 6 standard does not have such low limits on the size of individual datagrams, the future DNS will, over time, contain more root servers to support IPv6.

DNS IP Packets

Because DNS operation relies on potentially millions of other internet servers finding the root servers at any time, the addresses for root servers must be distributed over IP as efficiently as possible. Ideally, all these IP addresses should fit into a single packet (datagram) to avoid the overhead of sending multiple messages between servers.

With IPv4 in widespread use today, the DNS data that fits inside a single packet is as small as 512 bytes after subtracting the other protocol supporting the information contained in packets. Each IPv4 address requires 32 bytes.

Accordingly, the designers of DNS chose 13 as the number of root servers for IPv4, taking 416 bytes of a packet and leaving up to 96 bytes for other supporting data. This includes the flexibility to add a few more DNS root servers in the future if needed.​

Practical DNS Use

The DNS root name servers aren't important to the average computer user. The number 13 also does not constrain the DNS servers you can use for your devices. In fact, there are lots of publicly accessible DNS servers that anyone can use to change the DNS servers that their devices use.

For example, make a tablet use a Cloudflare DNS server so that internet requests run through that DNS server instead of a different one like a Google DNS server. This might be useful if the Google server is down or if you can browse the web faster using the Cloudflare DNS server.

Was this page helpful?