Networking - DNS - multichoice questions

Question 1

Which file is used when resolving the hostname localhost?

Question 2

Assume the following DNS records are stored in a TLD DNS server:

(www.google.com, ns1.google.com, ???, 3600)
(ns1.google.com, ???, A, 60)

Assume the following records are stored in the google.com authoritative DNS server:

(www.google.com, us-east-1.google.com, ???, 3600)
(us-east-1.google.com, 146.54.29.12, ???, 60)

Choose the possible input for the missing content (top-down)

Question 3

Given a user who is trying to resolve gov.org.il. Assuming the local DNS server doesn't have the IP or the hostname of the DNS server responsible for the .il TLD.

Where does the local DNS server go?

Question 4

Given the following description of each DNS server in the hierarchy, match the DNS server type according to the following order:

  1. Highest level of the DNS hierarchy, knows how to reach servers responsible for a given domain (e.g., .com, .edu).
  2. Replies to DNS query requested by a local user. Requesting all other DNS servers to answer the query on behalf of the user.
  3. Responsible for a domain (e.g., .com, .edu); knows how to contact authoritative name servers.
  4. Provides hostname to IP mappings for organization's domain.


Question 5

What are the benefits of caching in the local DNS server?

Suppose that the local DNS server caches all information coming in from all root, TLD, and authoritative DNS servers for 20 seconds. Assume also that the local cache is initially empty, that DNS query latency is 2 seconds (1 second for each side - request and response).

Consider the following DNS requests, made by some clients at the following order:

  1. google.com
  2. icann.org
  3. amazon.com
  4. google.com
  5. cnn.com
  6. google.com

Answer the below 3 questions

Question 6

Which of the requests require 8 seconds to be resolved?

Question 7

Which of the requests require 6 time units to be resolved?

Question 8

Which of the requests require 2 time units to be resolved?

Question 9

Choose the correct sentences regarding local DNS server:

Question 10

What is the role of an authoritative name server in the DNS?