hieuhtr / Blog

Don’t be lazy. Don’t make excuses. No one cares. Work fucking harder.
Other
6 stars 2 forks source link

How DNS works #29

Open hieuhtr opened 7 years ago

hieuhtr commented 7 years ago

Basic concept and information

How does DNS work?

Whenever you visit a domain such as github.com, the browser's journey begins >>>

Step 1: Request information

Step 2: DNS cache on Chrome

Step 3: DNS cache on OS

Step 4: The Resolver on ISP (Internet Service Provider)

Step 5: The ROOT servers - see https://www.iana.org/domains/root/servers

Step 6: The TLD nameservers

Step 7: The Authoritative nameservers

Step 8: Receive the answer

Finally, Chrome opens a connection to the webserver and receives the site.

This entire process, from start to finish, takes only milliseconds to complete.

Reference:

  1. https://howdns.works
  2. http://dyn.com/blog/dns-why-its-important-how-it-works/
  3. https://www.verisign.com/en_US/website-presence/online/how-dns-works