Changes

Jump to: navigation, search

OPS335 - Assignment 1 (Part 2)

528 bytes added, 10:09, 3 July 2019
m
Assignment Evaluation Details: - fixing typo
#Create a clone virtual machine called '''wendys''' from the '''concept''' 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 '''wendys''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server''' for '''bondrestaurant.villainsfastfood.ops'''.</li><li>Only '''harveys''' 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 '''bondrestaurant.villainsfastfood.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-bondrestaurant.villainsfastfood.ops''' and '''mydb-for-172.1921.15'''<li><s> Include an '''MX record''' for email sent to the domain to be directed to '''subway.bondrestaurant.villainsfastfood.ops'''.</s></li><li>Any machine in the '''bondrestaurant.villainsfastfood.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 '''bondrestaurant.villainsfastfood.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 ('''harveys''') ===
#Create a clone virtual machine called '''harveys''' from the '''concept''' 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 '''harveys''' 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 days. If the initial attempt fails, then it will attempt every twelve hours until it succeeds, or two weeks have passed.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL machines in the '''bondrestaurant.villainsfastfood.ops''' zone, the zone files for which will be obtained from '''wendys.bondrestaurant.villainsfastfood.ops'''.</li><li>Only machines within the '''bondrestaurant.villainsfastfood.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 ===
# Any machine may query '''wendys'''
# Only the machines in the '''bondrestaurant.villainsfastfood.ops''' network may query '''harveys'''.
== 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.5em1em;color:#4d4dff">TBAwget 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 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 immediately.
==Evaluation Rubric==
|-
|
::Allows forward and reverse lookups to '''bondrestaurant.villainsfastfood.ops'''
| style="text-align:right" | /1
|-
|
::'''Recursion''' limited to '''bondrestaurant.villainsfastfood.ops''' only
| style="text-align:right" | /1
|-
|
::wendys server is the '''master''' name-server for bondrestaurant.villainsfastfood.ops
| style="text-align:right" | /1
|-
|-
|
::Queries are limited to '''bondrestaurant.villainsfastfood.ops'''
| style="text-align:right" | /1
|-
|-
|
::Allows forward and reverse lookup for '''bondrestaurant.villainsfastfood.ops'''
| style="text-align:right" | /1
|-
|
::harveys server is '''slave''' name-server for '''bondrestaurant.villainsfastfood.ops'''
| style="text-align:right" | /1
|-
|-
|
::'''harveys''' limits queries to '''bondrestaurant.villainsfastfood.ops''' (i.e. won't work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
|-
|
:*Not using zone filenames: '''mydb-for-bondrestaurant.villainsfastfood.ops''' and '''mydb-for-172.1921.15'''
:*'''VM hostname''' NOT set
:*firewalld '''enabled''' / '''running'''
932
edits

Navigation menu