DNS Flashcards

1
Q

What is the difference between Iterative and Recursive DNS servers?

A

With iterative servers, the client is responsible for querying all levels of DNS servers by itself whereas recursive servers do the job on behalf of the client.
DNS Resolvers are recursive in nature.

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

What is FQDN?

A

protocol://sub-domain.domain-name.top-level-domain
E.G. https://www.google.com

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

What are the four levels of DNS servers?

A

Authoritative Name servers
TLD Server
Root Servers
DNS Resolvers (recursive)

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

List two commands to resolve domain names.

A

dig (Linux)
nslookup (Windows)

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

How do you check if the DNS resolution coming from the cache?

A

dig (in Linux)
TTL is provided; Query Time: 0 msec

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

List the names of two DNS resolvers and their IP.

A

Cloudflare (1.1.1.1)
Google (8.8.8.8, 8.8.4.4)

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

How many Root Servers are there across the globe?

A

13 servers across the globe maintained by InterNIC

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

What is the typical caching time for DNS queries in the client?
What is the advantage of having low TTL?

A

5 - 15 mins (depending on the domain)
Low TTL is needed for HA

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

Which service in AWS responsible for DNS?

A

Route 53

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

Can DNS servers facilitate client-side load balancing?

A

By providing multiple values (i.e. IPs) in the response

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

How would you locate the nearest DNS server to reduce the response time of DNS queries?

A

Using Anycast Routing
(8.8.8.8 & 1.1.1.1 are Anycast IP)

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

What is GeoDNS or GeoLocation Routing(AWS)?

A

DNS servers check the location of the user based on request’s IP and respond with server IP nearest to the client.

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

What are the three methods to prevent evesdropping of data by your company?

A

Use split tunnel in VPN. Traffic for routes are not pushed by company won’t go to corporate network. However, company will force to use their DNS servers and log browsing history.

Use VPN server to encrypt your data but company can still log browsing history as DNS is over http.

In Browser enable, DNS over HTTPS. However, company will manage browser and will disable this option.

Last option, disconnect VPN and then work. However, Yashika’s company controls that too. Legacy vendors have a solution.

Use your own laptop BYOD but that might not be allowed by company

Use TOR browser however it might be blocked by someone

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