Part 2 - How the Web works Flashcards
Name the four layers in internet protocol
- Application Layer
- Transport Layer
- Internet Layer
- Link Layer
Describe the function of the link layer
- Physical transmission of data across media
- Establish logical links
Describe the function of the internet layer
Provides “best effort” communication
How many bits are in an IPv4 address?
32
How many bits are in an IPv6 address?
128
Describe the function of the transport (TCP) layer
Ensures transmissions arrive in order and without error
What is the function of HTTP in the application layer?
Hyper Text Transfer Protocol. Web communication
What is the function of SSH in the application layer?
Secure Shell Protocol. Remote command-line connections to servers
What is the function of FTP in the application layer?
File Transfer Protocol. File transfer between computers
What is the function of POP/IMAP/SMTP in the application layer?
Email protocols for transferring and storing emails
What is the function of DNS in the application layer?
Domain Name System. Resolves domain names to IP addresses
Explain domain name address resolution if the browser has not cached the IP
- URL passed to OS’s DNS resolver
- Resolver makes request to ISP’s DNS server
- The primary DNS server checks its DNS cache
- Primary DNS server (if IP is not cached) requests IP from root name server
- Root name server returns IP of name server for requested TLD
- The primary DNS can now request the IP of the name server for requested website from TLD name servers
- Name server returns IP of the DNS server for requested site
- Primary DNS server requests IP of requested site from the site’s DNS server
- IP address of requested site returned to Primary DNS server
- IP address of requested site returned to computer
- Browser requests page from IP
- Browser displays website
What is a URL?
Uniform Resource Locator
Name, in order, the parts of a URL, starting with something like http://
- Protocol
- Domain
- Path
- Query string
- Fragment
What is the function of the domain in a URL?
Name of the server that resources are requested from