Changes

Jump to: navigation, search

OPS335 - Assignment 1 (Part 2)

No change in size, 10:35, 29 January 2018
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign''' virtual network and the '''foundation''' cloning-source that you created in assignment 1 (part 1) to create two name-servers. One of the cloned VMs (hostname: '''Ferrariferrari''') will be a '''master''' name server, and the other VM (hostname: '''Porsche''') 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 ==
{{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 ('''Ferrariferrari''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''Ferrariferrari''' from the '''foundation''' 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 '''Ferrariferrari''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server''' for '''house.neighbourhood.ops'''.</li><li>Only '''Porsche''' 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 '''house.neighbourhood.ops.''' zone, including resource records for virtual machines that do not currently exist.</li><li> Include an '''MX record''' for email sent to the domain to be directed to '''bedroom.house.neighbourhood.ops'''.</li><li>Any machine in the '''house.neighbourhood.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 '''house.neighbourhood.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 ('''Porsche''') ===
#Create a clone virtual machine called '''Porsche''' from the '''foundation''' 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 '''Porsche''' 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 days. If the initial attempt fails, then it will attempt every six hours until it succeeds, or one week has passed.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL virtual machines in the '''house.neighbourhood.ops''' zone, the zone files for which will be obtained from '''Ferrariferrari.house.neighbourhood.ops'''.</li><li>Only machines within the '''house.neighbourhood.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 ===
| 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;" | '''Ferrariferrari.house.neighbourhood.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | ''' 172.30.10.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
# Any machine may query '''Ferrariferrari'''
# Only the machines in the '''house.neighbourhood.ops''' network may query Porsche.
::'''Murray Saul's Classes (Sections A, & B):'''<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that both your '''Ferrariferrari''' and '''Porsche''' virtual machines are running.<li>Issue the command to download a checking script for your assignment to your '''host''' machine: <source>wget http://matrix.senecac.on.ca/~murray.saul/ops335/check-assn1-p2.bash
</source></li><li>Set execute permissions and run the command: '''/root/bin/check-assn1-p2.bash'''<br>(You shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email. 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.<br><br></li></ol>
|-
|
::'''Ferrariferrari''' and '''Porsche''' VMs created
| style="text-align:right" | /1
|-
|
::'''Ferrariferrari''' and '''Porsche''' VMs can perform '''DNS queries of vm1, vm2, vm3'''
| style="text-align:right" | /1
|-
|
::'''Ferrariferrari''' and '''Porsche''' VMs can perform '''forward DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
|
::'''Ferrariferrari''' and '''Porsche''' 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 (Ferrariferrari) - Network Configuration'''
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (Ferrariferrari) - Named Configuration Options / Zone Declarations'''
|-
|
|-
|
::Ferrari ferrari server is the '''master''' name-server for house.neighbourhood.ops
| style="text-align:right" | /1
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (Ferrariferrari) - Zone Record'''
|-
|
|-
|
::'''Ferrariferrari''' allows queries from any machine (i.e. will work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
13,420
edits

Navigation menu