study notes
  • Introduction
  • Oct 14, 2016
  • Oct 22, 2016
  • Oct 27
  • Nov1
  • j2ee context root(4.19.2017)
  • June 20, 2017(bTrade debug record)
  • Sep 5, 2017
  • Jan 4, 2018
  • Jan 5, 2018Deploy war file to Tomcat
  • Jan 13,2018, hibernate config
  • conflict caused by PR
  • using another project's class
  • intellij cannot resolve the symbols in target folder
  • keyboard symbol
  • Oct 31, 2018
  • tax build construction simplify &effecticent
  • line ending
  • memory leak
  • Serializable
  • To learn
  • What happens when you type 'google.com' into a browser and press Enter?
  • security scan for software
Powered by GitBook
On this page

Was this helpful?

What happens when you type 'google.com' into a browser and press Enter?

PreviousTo learnNextsecurity scan for software

Last updated 5 years ago

Was this helpful?

Step 1: Request a record

If the records are not stored locally, your computer queries (or contacts) your ISP's recursive DNS servers. These machines perform the legwork of DNS queries on behalf of their customers. The recursive DNS servers have their own caches, which they check before continuing with the query. Step 3: Ask the Root DNS servers

If the recursive DNS servers do not have the record cached, they contact the root nameservers. These thirteen nameservers contain pointers for all of the Top-Level Domains (TLDs), such as '.com', '.net' and '.org'. If you are looking for 'www.google.com.', the root nameservers look at the TLD for the domain - 'www.google.com'- and direct the query to the TLD DNS nameservers responsible for all '.com' pointers. Step 4: Ask the TLD DNS servers

The TLD DNS servers do not store the DNS records for individual domains; instead, they keep track of the authoritative nameservers for all the domains within their TLD. The TLD DNS servers look at the next part of the query from right to left - 'www.google.com' - then direct the query to the authoritative nameservers for 'google.com'. Step 5: Ask the Authoritative DNS servers

Authoritative nameservers contain all of the DNS records for a given domain, such as host records (which store IP addresses), MX records (which identify nameservers for a domain), and so on. Since you are looking for the IP address of 'www.google.com', the recursive server queries the authoritative nameservers and asks for the host record for 'www.google.com'. Step 6: Retrieving the record

The recursive DNS server receives the host record for 'www.google.com' from the authoritative nameservers, and stores the record in its local cache. If anyone else requests the host record for 'www.google.com', the recursive servers will already have the answer, and will not need to go through the lookup process again until the record expires from cache. Step 7: The Answer!

Finally, the recursive server gives the host record back to your computer. Your computer stores the record in its cache, reads the IP address from the record, then passes this information to the web browser. Your browser then opens a connection to the IP address '72.14.207.99' on port 80 (for HTTP), and our webserver passes the web page to your browser, which displays Google.

You begin by asking your computer to resolve a hostname, such as visiting '' in a web browser. The first place your computer looks is its local DNS cache, which stores DNS information that the computer has recently retrieved. Step 2: Ask the Recursive DNS servers

http://www.google.com
What happens when you type 'google.com' into a browser and press Enter?DEV Community
Google Interview Question: What happens when you type ww...Glassdoor
Logo
Logo