Week 4 - Name Resolution Flashcards
What is DNS? What does it do?
Domain Name System
DNS is a global network service that translates a string of letters into an IP address for you
What’s a domain name?
Domain names are unique, easy-to-remember letter addresses that can be translated into an IP address by the DNS
What is name resolution?
The method of using DNS to look up an IP address associated with a domain name
What are 4 things that must be configured for a host to operate on a network?
- IP address
- DNS server
- Router/Gateway
- Subnet mask
What are the 5 primary types of DNS servers?
- Caching name server
- Recursive name server
- Root name server
- TLD name server
- Authoritative name server
What do the caching name servers do?
They store a local copy of recent DNS lookups
the time it’s stored is based on the data’s TTL
What is a TTL in DNS? Every ____ has one
TTL = time to live in seconds
Every domain name has one, and it tells the name server how long to hold onto the name lookup data
What do recursive name servers do?
Recursive name servers perform a full address resolution protocol
How many root name server authorities are there? How are they distributed?
There are 13 root name server authorities and they are distributed using Anycast
What is anycast?
Anycast is a technique used by the name servers to route traffic depending on factors like link health, congestion, and location
Describe the steps a local recursive server takes to perform a full address resolution:
- Computer contacts root name server
- Root name directs traffic to TLD server
- TLD responds again with a redirect to the authoritative name server
- Authoritative name server responds with actual IP address
Describe the 5 primary types of DNS servers
- Caching - stores a local copy of DNS lookups
- Recursive - full address resolution name lookup
- Root - provides the name lookup service
- TLD - provides the last part of a domain and redirects to authoritative
- Authoritative - the organization that runs the domain, provides the IP address
Why is the hierarchical DNS lookup process important?
A computer sends traffic to an IP blindly and the hierarchical DNS lookup process prevents malicious intervention/redirection of traffic
What port is reserved for DNS?
DNS uses Port 53
What’s the difference between a DNS resolver and a DNS server?
the DNS resolver performs the lookup and resends the request when needed and the DNS server listens for the request of data