Transcript
Every website you open starts with a question to one of just 13 names. a.root-servers.net, b, c, and so on, all the way to m. Twelve organisations run them. But there aren't 13 machines. There are more than 1,900, spread all over the world. Let's follow one lookup. Your phone wants seclern.com. It asks a resolver, the address finder your internet provider runs. The resolver starts at the very top: the root, the list of every ending, like dot com, dot org and dot jp. The root doesn't know seclern.com. It only says: for .com, ask these servers. The resolver remembers that answer for up to two days. So most of your lookups never touch the root at all. So why only 13 names? An old rule: a DNS answer had to fit in 512 bytes. Thirteen names with their addresses fill that box. A fourteenth leaves no room for the question. The list reached 13 in 1997, and it froze there. The way around the limit is called anycast. Take j.root, run by Verisign. Its address is 192.58.128.30. Around 150 sites across the world answer on that same address. The internet's routers usually send you to the nearest one. A root operator first did this in 2002. Today all thirteen letters work this way. That design has been tested. On November 30th, 2015, most root letters got up to 5 million queries a second, each. It lasted almost three hours. Some sites near the flood were swamped. The other copies kept answering. There were no known errors for users. So remember it like this. Thirteen names, one address each, copied to more than 1,900 places. Want to practise DNS hands-on? Try it free at seclern.com, and follow for more.