Changes

Jump to: navigation, search

OPS335 - Assignment 1 (Part 2)

897 bytes removed, 19:43, 7 September 2021
General Requirements
== General Requirements ==
'''Weight''': 7.5% of the overall grade
'''Due Date (Fall 2019)''': During '''Week 7''' (in class)check with your professor
== Detailed Requirements ==
#Create a clone virtual machine called '''australinea''' from the '''pangaea''' 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 '''australinea''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server''' for '''continents.earth.ops'''.</li><li>Only '''antarctica''' 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 '''continents.earth.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-continents.earth.ops''' and '''mydb-for-172.28.105'''<li><s> Include an '''MX record''' for email sent to the domain to be directed to '''subway.continents.ops'''.</s></li><li>Any machine in the '''continents.earth.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 '''continents.earth.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 ('''antarctica''') ===
#Create a clone virtual machine called '''antarctica''' from the '''pangaea''' 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 '''antarctica''' 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 five three days. If the initial attempt fails, then it will attempt every twelve twenty-four hours until it succeeds, or two three weeks have passed.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL machines in the '''continents.earth.ops''' zone, the zone files for which will be obtained from '''australinea.continents.earth.ops'''.</li><li>Only machines within the '''continents.earth.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 ===
=== 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;" |''hungryafrica.continents.earth.ops''' (your existing host)
| style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.28.105.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;" | '''pangaea.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.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;" | '''australinea.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.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;" | '''antarctica.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server
|- style="background-color:white;"
| style="border: 2px solid black;" | '''asia.continents.earth.ops'''
| style="border: 2px solid black;" | '''172.28.105.5'''
| style="border: 2px solid black;" | '''SMTP''' mail Server
|- style="background-color:white; border: 2px solid black;"
| style="border: 2px solid black;" | '''europe.continents.earth.ops'''
| style="border: 2px solid black;" | '''172.28.105.6'''
| style="border: 2px solid black;" | '''IMAP''' mail Server
|- style="background-color:white;"
| style="border: 2px solid black;" | '''southamerica.continents.earth.ops'''
| style="border: 2px solid black;" | '''172.28.105.8'''
| style=border: 2px solid black;" | '''Samba''' Server
# Any machine may query '''australinea'''
# Only the machines in the '''continents.earth.ops''' network may query '''antarctica'''.
== Assignment Submission ==
*Download and run a shell script to check your work:
<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''assignment VMs are running'''.</li><li>Make certain that the mailx command has been installed. If not, issue the following command to install e-mail on your '''host''' machine:<source>yum install mailx </source><li>Issue the command to download a checking script for your assignment to your '''host''' machine:<span font-size:1.1em;color:#000000"><ul><li>'''Peter Callaghan (ops335 section A):'''<br><span style="font-family:courier;font-size:1.2em;color:#4d4dff">wget https://matrix.senecacollege.ca/~peter.callaghan/files/OPS335/check-assn1-p2.bash</span></li></ul><ul><li>'''Ahad Mammadov (ops335 sections B, C &amp; D):'''<br><span style="font-family:courier;font-size:1.1em;color:#4d4dff"> wget https://matrix.senecacollege.ca/~ahad.mammadov/files/OPS335/check-assn1p2.bash</span></li></ul></span><br><br>Set execute permissions and run the shell script.<br>(Your shell script contents will be mailed Upload the resulting file to your OPS335 instructor's Seneca email, and a confirmation message will be emailed to you.<br><br>If you do '''NOT''' receive an e-mail message in your Seneca email account, then there is a problem, and you '''MUST''' rerun or contact your OPS335 instructor immediatelyblackboard.
==Evaluation Rubric==
|-
|
::Allows forward and reverse lookups to '''continents.earth.ops'''
| style="text-align:right" | /1
|-
|
::'''Recursion''' limited to '''continents.earth.ops''' only
| style="text-align:right" | /1
|-
|
::australinea server is the '''master''' name-server for continents.earth.ops
| style="text-align:right" | /1
|-
::Correct '''NS''' records in reverse zone
| style="text-align:right" | /2
|-
|
::<s>'''MX''' record</s>
| style="text-align:right" |<s> /1</s>
|-
| colspan=2 style="background-color:#eeeeee;"| '''Slave Name Server (antarctica) - Network Configuration'''
|-
|
::Queries are limited to '''continents.earth.ops'''
| style="text-align:right" | /1
|-
|-
|
::Allows forward and reverse lookup for '''continents.earth.ops'''
| style="text-align:right" | /1
|-
|
::antarctica server is '''slave''' name-server for '''continents.earth.ops'''
| style="text-align:right" | /1
|-
|-
|
::'''antarctica''' limits queries to '''continents.earth.ops''' (i.e. won't work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
|-
|
:*Not using zone filenames: '''mydb-for-continents.earth.ops''' and '''mydb-for-172.28.105'''
:*'''VM hostname''' NOT set
:*firewalld '''enabled''' / '''running'''

Navigation menu