見出し画像

What is DNS? | How DNS works


What is DNS 

The Domain Name System (DNS) is the phonebook of the Internet. Humans access information online through domain names, like nytimes.com or espn.com. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.

https://www.cloudflare.com/en-au/learning/dns/what-is-dns/

Example 

human-readable domain names: api.mysite.com 

DNS Solver 

computer-friendly IP address: 192.168.1.1 

To put it simply, DNS translates human-readable domain names to machine-readable IP addresses 

https://blog.bytebytego.com/p/how-does-the-domain-name-system-dns

1. google.com is typed into the browser, and the browser sends the domain name to the DNS resolver.
2. The resolver queries a DNS root name server.
3. The root server responds to the resolver with the address of a TLD DNS server. In this case, it is .com.
4. The resolver then makes a request to the .com TLD.
5. The TLD server responds with the IP address of the domain’s name server, google.com (authoritative name server).
6. The DNS resolver sends a query to the domain’s nameserver.
7. The IP address for google.com is then returned to the resolver from the nameserver.
8. The DNS resolver responds to the web browser with the IP address (142.251.46.238) of the domain requested initially.

reference 

https://www.cloudflare.com/en-au/learning/dns/what-is-dns/



いいなと思ったら応援しよう!