torstai 16. tammikuuta 2014

How DNS, IP and network works

I am not 100% sure if this is how the Internet works, but this is how I have understood it.

You want to connect for example and type that address to your browser because you remember "oh it was" you don't know the server real IP address which is like a telephone number. We prefer to remember names not numbers. And it is easier yes.

1. Your computer then asks from the closest DNS server where is located ? It is like a huge telephone directory.

2. If your closest DNS doesn't know where that address is really located, it asks from the next DNS server. And this continues as long as someone knows where is located!

3. Then DNS finally gets the information from some DNS server and sends the real address to the user computer. "You know, is located in this address:"

4. Your computer connects to the address given and your browser will load the site from vr server.

You can also test this yourself!

Open up terminal window in Linux or Windows (CMD) and type:
It will give you a reply from the address if the server is found.
Type that address to your browser and tada, it will load the site.