Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+16 votes

Can someone put the order of how the internet works from the activity we did on Monday?

asked in CSC335_Spring2019 by (8 points)

2 Answers

+13 votes
Best answer

If I remember right the pc sends a DNS request which goes over ethernet to a DNS server. The DNS server sends the IP of the website host back and the the pc sends a request throught the ethernet and firewall, then to a router that sends the request through some more routers along fiber optic cables until it reaches the host of the website. Then the host sends back the website data with a '200' for ok or a '404' if there was an error.

I think thats the general idea.

PC => firewall => routers => host
host => routers => firewall => PC

answered by (8 points)
selected by
+8 votes

I think that host computers making the request have the options to use preferred DNS servers and DNS caching in order to speed up the process. So that when a HTTP GET is requested to a web server it may have an opportunity to get there in fewer hops.

answered by (8 points)