Week 4 Flashcards
Domain Name System (DNS)
A global and highly distributed network service that resolves strings of letters into IP addresses for you
Domain name
Term used for something that can be resolved by DNS
What are the five primary types of DNS servers?
Caching name servers Recursive name servers Root name servers TLD name servers Authoritative name servers
Caching and recursive name servers
Purpose is to store known domain name lookups for a certain amount of time
Recursive name servers
Perform full DNS resolution requests
TTL (Time to live)
A value, in seconds, that can be configured by the owner of a domain name for how long a name server is allowed to cache an entry before it should discard it and perform a full resolution again
Steps of a full recursive resolution
- Recursive name server contacts a root name server (there’s 13 authority root servers in total)
- Root server responds with the TLD name that should be queried
- Then the recursive name server contacts an appropriate TLD server
- TLD server responds with the authoritative name server the recursive name server should contact
- The recursive name server contacts the given name server
- The name server gives the IP of the website being looked up
Anycast
A technique that’s used to route traffic to different destinations depending on factors like location, congestion, or link health
Does the DNS lookup use UDP or TCP?
UDP
An A Record
Used to point a certain domain name at a certain IPv4 IP address
CNAME record
Used to redirect traffic from one domain name to another
Mail exchange
Used to direct email to the correct server
TLD
Top level domain
Last part of a domain name
.com
.org
And so on
Domain
Used to refer to the second part of a domain name
Subdomain
A.K.A the host name