Week 4 - Name Resolution Flashcards

1
Q

What is DNS? What does it do?

A

Domain Name System

DNS is a global network service that translates a string of letters into an IP address for you

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

What’s a domain name?

A

Domain names are unique, easy-to-remember letter addresses that can be translated into an IP address by the DNS

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

What is name resolution?

A

The method of using DNS to look up an IP address associated with a domain name

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

What are 4 things that must be configured for a host to operate on a network?

A
  1. IP address
  2. DNS server
  3. Router/Gateway
  4. Subnet mask
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 5 primary types of DNS servers?

A
  1. Caching name server
  2. Recursive name server
  3. Root name server
  4. TLD name server
  5. Authoritative name server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do the caching name servers do?

A

They store a local copy of recent DNS lookups

the time it’s stored is based on the data’s TTL

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

What is a TTL in DNS? Every ____ has one

A

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

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

What do recursive name servers do?

A

Recursive name servers perform a full address resolution protocol

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

How many root name server authorities are there? How are they distributed?

A

There are 13 root name server authorities and they are distributed using Anycast

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

What is anycast?

A

Anycast is a technique used by the name servers to route traffic depending on factors like link health, congestion, and location

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

Describe the steps a local recursive server takes to perform a full address resolution:

A
  1. Computer contacts root name server
  2. Root name directs traffic to TLD server
  3. TLD responds again with a redirect to the authoritative name server
  4. Authoritative name server responds with actual IP address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the 5 primary types of DNS servers

A
  1. Caching - stores a local copy of DNS lookups
  2. Recursive - full address resolution name lookup
  3. Root - provides the name lookup service
  4. TLD - provides the last part of a domain and redirects to authoritative
  5. Authoritative - the organization that runs the domain, provides the IP address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why is the hierarchical DNS lookup process important?

A

A computer sends traffic to an IP blindly and the hierarchical DNS lookup process prevents malicious intervention/redirection of traffic

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

What port is reserved for DNS?

A

DNS uses Port 53

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

What’s the difference between a DNS resolver and a DNS server?

A

the DNS resolver performs the lookup and resends the request when needed and the DNS server listens for the request of data

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

What is an A record in name resolution?

A

A single A Record points to a single domain name to a certain IPv4 address

17
Q

What is a DNS Round Robin in name resolution?

A

repeatedly cycles through a list of items 1 by 1 in order

18
Q

How does DNS Round Robin balance traffic?

A

DNS Round Robin cycles the separate client’s connection to each A record available in order

19
Q

What is a Quad A record?

A

Same function as an A record but returns an IPv6 address instead of an IPv4

20
Q

What is the CNAME resource record?

A

It’s the canonical name for a domain name and redirects traffic to the canonical domain

21
Q

What is the MX resource record and what does it do?

A

Mail Exchange resource record handles the resolving of email domains

An MX record stores a mail server’s IP.

22
Q

What is the SRV in name resolution?

A

The service resource record directs traffic to a specific service using its port

23
Q

What is TXT and what is it used for?

A

It stores any additional information

24
Q

What is ICANN? What do they do?

A

ICANN is the Internet Corporation for Assigned Names and Numbers

They distribute TLDs

25
Q

What are the 3 parts of a domain?

A
  1. TLD .com, .org, .net
  2. domain google, youtube, twitch
  3. subdomain www.
26
Q

What do you call all parts of a domain combined?

A

FQDN

Fully qualified domain name

27
Q

What is a registrar?

A

a registrar is a company that works in accordance with ICANN to sell unregistered domain names

28
Q

What’s the purpose of DNS zones?

A

DNS zones allow easier control over multiple levels of a domain

29
Q

What are zone files? What 2 files does it contain?

A

Zone files declare all resource records for a zone and contain:

  • SOA files (start of authority)
  • NS files
30
Q

What is SOA? Where do you find this?

A

Start of Authority

they are in zone files and indicate the zone and which name server is authoritative of it

31
Q

What are NS records? Where are they found?

A

names other servers that might be in charge of the zone

they are found in zone files

32
Q

What do reverse lookup zone files do?

A

Reverse lookup zone files let DNS resolvers ask for an IP and also provide the FQDN associated

33
Q

What is a PTR?

A

pointer record

resolve an IP address to a name