order shuffle

This commit is contained in:
cloin 2022-05-23 05:46:01 +00:00
parent 3db1906e1c
commit f1d1aa8064
1 changed files with 21 additions and 18 deletions

View File

@ -76,20 +76,19 @@ So, how does the computer get an IP address? How do we know what the router's IP
How do find the IP address of "https://handmade.network/" so we can send it a request? How do find the IP address of "https://handmade.network/" so we can send it a request?
Discovery protocols to the rescue! Discovery protocols to the rescue!
## Putting on the ARP Goggles ## Using the DNS Phonebook
At the bottom of the protocol stack, ARP (Address Resolution Protocol) is how your computer DNS sits at the top acting as a final, important, icing on the cake. The job of DNS is primarily to
reaches out and understands the local network it lives on. When an ethernet cable gets plugged into provide lookup services for domain names. To resolve "https://handmade.network/" into an IP address
your computer, it broadcasts an ARP packet, gathering responses to know how to address so we can send it an HTTP request, we send a lookup request to the DNS server, and it will do the requisite
messages directly to specific local machines. The initial ARP packet contains the MAC forwarding until it either has an IP address to send back, or fails.
address of the computer sending, and responses from all machines that want to be discovered
get fired back with their MAC addresses in tow.
Good learning resources for ARP: Good learning resources for DNS:
- https://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-arp/ - https://www.cloudflare.com/learning/dns/what-is-dns/
<-- Link to expanded, less curated library of topical info --> <-- Link to expanded, less curated library of topical info -->
<-- Branch into TAP via link here --> <-- Branch into DNS over HTTPS / DNS Lookup Security via link here -->
## Finding the Mailman with DHCP ## Finding the Mailman with DHCP
@ -106,18 +105,22 @@ Good learning resources for DHCP:
<-- Link to expanded, less curated library of topical info --> <-- Link to expanded, less curated library of topical info -->
<-- Branch into PXE Booting via link here --> <-- Branch into PXE Booting via link here -->
## Using the DNS Phonebook ## Putting on the ARP Goggles
DNS sits at the top acting as a final, important, icing on the cake. The job of DNS is primarily to At the bottom of the protocol stack, ARP (Address Resolution Protocol) is how your computer
provide lookup services for domain names. To resolve "https://handmade.network/" into an IP address reaches out and understands the local network it lives on. When an ethernet cable gets plugged into
so we can send it an HTTP request, we send a lookup request to the DNS server, and it will do the requisite your computer, it broadcasts an ARP packet, gathering responses to know how to address
forwarding until it either has an IP address to send back, or fails. messages directly to specific local machines. The initial ARP packet contains the MAC
address of the computer sending, and responses from all machines that want to be discovered
get fired back with their MAC addresses in tow.
Good learning resources for DNS: Good learning resources for ARP:
- https://www.cloudflare.com/learning/dns/what-is-dns/ - https://www.youtube.com/watch?v=aamG4-tH_m8&list=PLowKtXNTBypH19whXTVoG3oKSuOcw_XeW&index=9
- https://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-arp/
<-- Link to expanded, less curated library of topical info --> <-- Link to expanded, less curated library of topical info -->
<-- Branch into DNS over HTTPS / DNS Lookup Security via link here --> <-- Branch into TAP via link here -->
## Fun Tangents ## Fun Tangents