DNS, Domain Name System

A high-level overview of what DNS is and how it works

Normally, you usually don't try to use its IP address to access a website. youwere able, But very rare.

You usually usedomain name. Like google.com or flaviocopes.com.

This is very convenient because, for example, I can change the server and company used to host the website while maintaining the same domain name.

The system that maps domain names to IP addresses is called DNS:Domain Name System.

DNS is a server network. Your provider will have its own DNS, and your router has been pre-configured to use it.

You can also choose to use Google's DNS server with an IP address8.8.8.8.

These DNS servers will receive requests from your computer, and then in turn will ask their own reference DNS servers.

The system is organized like a tree. There is a DNS server at the top, calledRoot DNS server.

For simplicity, it knows the IP address of the DNS server that manages each domain extension, for examplecom,net,orgAnd so on, including country-specific domain name extensions and new extensions, such asblog,devortech.

These DNS servers know the IP address mapping of all domains under their extension.

Of course, the system is set up to ensure caching, redundancy and the ability to withstand high concurrent requests, but this is the general idea.

More web tutorials: