DNS And HTTP/s Flashcards

1
Q

DNS (Domain Name System)

A

Infrastructure service translates human readable domain names into IP addresses for routers to understand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

DNS Steps

A
  1. Client sends DNS query to recursive resolver
  2. Resolver queries root and servers
  3. IP address and cache are stored for future use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HTTP

A
  1. Browser sends requests
  2. Server requests and sends responses
    Request line: GET/index.html
    Headers: metadata
    Status: (200 OK, 404 not found…)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTTPS

A

Encrypts HTTP for SSL/TLS to prevent data breaches. Uses SSL certificates for authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTTP vs HTTPS

A

HTTP port is 80, HTTPS is 443.
HTTP is not secure but HTTPS is encrypted with SSL/TLS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

HTTPS request steps

A
  1. Browser requests IP address from DNS server
  2. TCP does 3 way handshake (SYN -> SYN-ACK -> ACK)
  3. HTTPS is used, data is encrypted
  4. HTTP requests information (line, header, resources)
  5. Server processes request and returns a status line
  6. Browser renders content, TCP is closed with FIN-ACK
How well did you know this?
1
Not at all
2
3
4
5
Perfectly