Tutorial 6
Tutorial 6
Exercises Sheet 6
Exercise 1
Part 1
Answer the following questions with yes, no, or maybe.
Part 2
1. We run the following command dig example.edu from a terminal. Fill in the gaps (rep-
resented by ...) in the following output and answer subsequent questions:
;; QUESTION SECTION:
; ... IN A
;; ANSWER SECTION:
... 86400 IN A 93.184.216.119
;; AUTHORITY SECTION:
... 172800 IN NS b.iana-servers.net.
... 172800 IN NS ...
;; ADDITIONAL SECTION:
a.iana-servers.net. 22728 IN A 199.43.132.53
... 22728 IN AAAA 2001:500:8c::53
... 22728 IN A 199.43.133.53
... 22728 IN AAAA 2001:500:8d::53
2. Does the host b.iana-servers.net have an IPv6 address? If so give it, if not justify.
4. What are the name(s) of the domain name servers that have authority over the domain
example.edu?
Exercise 2
3. Assume that the DNS server used by the machine is down. How can the user access the
file /rep/file.html?
4. Consider the following excerpt from the DNS zone file for the domain iut.edu, which is
hosted on the server dns.iut.edu. The file contains records in the following format:
<name> <type> <value>
iut.edu. NS dns
dns A 10.1.0.1
www A 10.1.0.2
mail A 10.1.0.3
max.student A 10.2.0.100
anna.student A 10.2.0.200
Here, <name> identifies a machine or domain, which can be absolute (ending with a dot)
or relative (relative to the zone name). Multiple records can be associated with a name,
differentiated by their <type>. The <value> of the record depends on its type. In this
example, there are two types: A for defining an IP address and NS (Name Server) for
defining a DNS server for a zone.
(a) What are the full names of the machines in the zone iut.edu for which the server
knows the IP addresses?
(b) We want the domain student.iut.edu to be delegated to another DNS server, called
dns.student.iut.edu with IP address 10.2.0.1. To clarify, our goal is to partition the zone
iut.edu and establish a dedicated subzone for student.iut.edu. What steps are required to
achieve this?
(c) What will be the response of the server dns.iut.edu if it is queried about the machine
anna.student.iut.edu?
Exercise 3
Consider the configuration depicted in the figure above and answer the following questions.
1. Provide an IP configuration for the following hosts: (1) home machine A, (2) home router
X, (3) Algerie Telecom DNS server, (4) university machine B, (5) university DHCP server,
(6) university Web server, (7) university Email server.
2. How many machines can we connect to University Network?
3. Answer the following questions with Yes or No and justify your answer.
a) Machine A can ping Machine B.
b) Machine B can ping Machine A
c) Machine A can ping google.com.
d) google.com can ping Machine A.
e) Machine B can ping DHCP server.
f) Machine A can ping Email server.