1,234
edits
Changes
→General Requirements
== Purpose ==
In this assignment, you will use the '''335assign''' virtual network and the '''cloynepangaea''' cloning-source that you created in assignment 1 (part 1) to create two name-servers. One of the cloned VMs (hostname: '''torontoaustralinea''') will be a '''master''' name server, and the other VM (hostname: '''ottawaantarctica''') will be a '''slave''' name server. You will install and setup the master and slave servers in order to provide various domain name resolutions for existing servers, and for servers that will be created and used in assignment #2.
== General Requirements ==
'''Weight''': 7.5% of the overall grade
'''Due Date''': During '''Week 9''' (in class)check with your professor
== Detailed Requirements ==
{{Admon/important|It is YOUR responsibility to Backup all of your VMs for this Assignment!|You are required to frequently backup your VMs prior to exiting a work session during this assignment. Your instructor will NOT accept the fact that your hard disk crashed and lost all of your work. If you properly backed up your VM images and xml configuration files to a USB, then you can purchase a new hard-disk or wipe and recreate your hard disk and restore your VMs. }}<br />
=== Set-up Master Name Server ('''torontoaustralinea''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''torontoaustralinea''' from the '''cloynepangaea''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Setup a DNS server on your '''torontoaustralinea''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server''' for '''townscontinents.ontarioearth.ops'''.</li><li>Only '''ottawaantarctica''' will be allowed to obtain zone transfers of this zone.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL virtual machines in the '''townscontinents.ontarioearth.ops.''' zone, including resource records for virtual machines that do not currently exist.</li><li>You MUST use the following names for both the forward and reverse zone files in '''/var/named''' directory: '''mydb-for-townscontinents.ontarioearth.ops''' and '''mydb-for-172.1728.15105'''<li> Include an '''MX record''' for email sent to the domain to be directed to '''kingston.towns.ontario.ops'''.</li><li>Any machine in the '''townscontinents.ontarioearth.ops''' network may use this machine to perform queries of machines outside the network, however it will route all such queries through the DNS server you created in lab #3.</li><li>For machines outside the '''townscontinents.ontarioearth.ops''' domain, it will only answer queries about machines inside the network. They may not use it to query other machines.</li></ol>
=== Set-up Slave Name Server ('''ottawaantarctica''') ===
Perform the following steps for this section:
#Create a clone virtual machine called '''ottawaantarctica''' from the '''cloynepangaea''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Setup a DNS server on your '''ottawaantarctica''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Slave DNS server''' (in case the Master Name Server goes down).</li><li>This virtual machine will obtain its zone files by copying them from the Master Name Server.</li><li>This Slave DNS server will check for updated records from the Master DNS server every two three days. If the initial attempt fails, then it will attempt every six twenty-four hours until it succeeds, or one week has three weeks have passed.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL virtual machines in the '''townscontinents.ontarioearth.ops''' zone, the zone files for which will be obtained from '''torontoaustralinea.townscontinents.ontarioearth.ops'''.</li><li>Only machines within the '''townscontinents.ontarioearth.ops''' domain will be allowed to query this machine.</li><li>This machine will not provide recursive lookup capabilities for any machines.<br><br></li></ol>
=== Network Configuration ===
As you will now have functioning primary and secondary DNS servers, modify your network configuration file on these machines and on the '''cloning source ''' to specify the correct IPADDR.
=== Table of Virtual Machines / DNS Records ===
'''All''' the machines in the following table '''require DNS records'''. The rows not shaded represent future servers that will be created in Assignment #2.
{| class="wikitable" | style="margin-left:0px; border: 2px solid black;"
| style="border: 2px solid black;" |Purpose
|-style="background-color:#66cccc; border: 2px solid black;"
| style="border: 2px solid black;" |'''freshwaterafrica.townscontinents.ontarioearth.ops''' (your existing host)| style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.1728.15105.1'''
| style="border: 2px solid black;" | Your '''host''' machine
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''cloynepangaea.townscontinents.ontarioearth.ops''' | style="background-color:#66cccc; border: 2px solid black;" | '''172.1728.15105.100'''
| style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments.
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''torontoaustralinea.townscontinents.ontarioearth.ops''' | style="background-color:#66cccc; border: 2px solid black;" | ''' 172.1728.15105.2'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''ottawaantarctica.townscontinents.ontarioearth.ops'''| style="background-color:#66cccc; border: 2px solid black;" | '''172.1728.15105.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server
|- style="background-color:white;"
| style="border: 2px solid black;" | '''kingstonasia.townscontinents.ontarioearth.ops''' | style="border: 2px solid black;" | ''' 172.1728.15105.5'''
| style="border: 2px solid black;" | '''SMTP''' mail Server
|- style="background-color:white; border: 2px solid black;"
| style="border: 2px solid black;" | '''coburgeurope.townscontinents.ontarioearth.ops''' | style="border: 2px solid black;" | '''172.1728.15105.6'''
| style="border: 2px solid black;" | '''IMAP''' mail Server
|- style="background-color:white;"
| style="border: 2px solid black;" | '''miltonsouthamerica.townscontinents.ontarioearth.ops''' | style="border: 2px solid black;" | '''172.1728.15105.8'''
| style=border: 2px solid black;" | '''Samba''' Server
|}
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
# Any machine may query '''torontoaustralinea'''# Only the machines in the '''townscontinents.ontarioearth.ops''' network may query ottawa'''antarctica'''.
== Assignment Submission ==
*'''Demonstrate working assignment to your instructor in class:'''<ol type="a"><li>Students need to demonstrate their assignment functionality to their professor during a lab period (like you would for any lab for "sign-off").</li><li>Students are required to prepare everything ahead of time so that you can quickly demonstrate to your instructor that all required parts of your assignment are working.</li><li>'''Do not proceed to the next step''' until you have demonstrated your assignment to your instructor to check for errors that may cause problems when running the checking script.<br><br></li></ol>
*Download and run a shell script to check your work (Depending on your OPS335 Instructor):
==Evaluation Rubric==
|-
|
::'''torontoaustralinea''' and '''ottawaantarctica''' VMs created
| style="text-align:right" | /1
|-
|
::'''torontoaustralinea''' and '''ottawaantarctica''' VMs can perform '''DNS queries of vm1, vm2, vm3'''
| style="text-align:right" | /1
|-
|
::'''torontoaustralinea''' and '''ottawaantarctica''' VMs can perform '''forward DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
|
::'''torontoaustralinea''' and '''ottawaantarctica''' VMs can perform '''reverse DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
| width=10% style="text-align:right;font-weight:bold" | Mark
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (torontoaustralinea) - Network Configuration'''
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (torontoaustralinea) - Named Configuration Options / Zone Declarations'''
|-
|
::Zone transfer (i.e. to slave DNS server) limited to '''ottawaantarctica''' only
| style="text-align:right" | /1
|-
|
::Allows forward and reverse lookups to '''townscontinents.ontarioearth.ops'''
| style="text-align:right" | /1
|-
|
::'''Recursion''' limited to '''townscontinents.ontarioearth.ops''' only
| style="text-align:right" | /1
|-
|
::toronto australinea server is the '''master''' name-server for townscontinents.ontarioearth.ops
| style="text-align:right" | /1
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (torontoaustralinea) - Zone Record'''
|-
|
::'''SOA''' - two three common options (determined by instructor at time of marking)| style="text-align:right" | /23
|-
|
| style="text-align:right" | /2
|-
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Slave Name Server (ottawaantarctica) - Named Configuration Options'''
|-
|
::Queries are limited to '''townscontinents.ontarioearth.ops'''
| style="text-align:right" | /1
|-
|-
|
::Allows forward and reverse lookup for '''townscontinents.ontarioearth.ops'''
| style="text-align:right" | /1
|-
|
::ottawa antarctica server is '''slave''' name-server for '''townscontinents.ontarioearth.ops'''
| style="text-align:right" | /1
|-
|-
|
::'''torontoaustralinea''' allows queries from any machine (i.e. will work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
|
::'''ottawaantarctica''' limits queries to '''townscontinents.ontarioearth.ops''' (i.e. won't work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
|-
|
:*Not using zone filenames: '''mydb-for-townscontinents.ontarioearth.ops''' and '''mydb-for-172.1728.15105'''
:*'''VM hostname''' NOT set
:*firewalld '''enabled''' / '''running'''