DNS
DNS Resolving i.e. Walking the tree
Resolving www.netflix.com:
- Computer hosts file is checked
- Computer cache is checked
- Query to DNS Resolver (Usually router or ISP), it might return non-authoritative answer because of cache
- Query to DNS Root Zone which does not host TLDs but can point us to registries which do, returns .com NS (which IP addresses are hardcoded in operation systems)
- Now DNS Resolver queries Registries TLD NS. Gets returned with netflix.com NS
- Query to netflix.com DNS NS, www.netflix.com ip is returned.
- The record might be cached.