Open main menu

CDOT Wiki β

Changes

OPS335 - Assignment 1 (Part 2)

No change in size, 10:37, 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: '''ferrari''') will be a '''master''' name server, and the other VM (hostname: '''Porscheporsche''') 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 ==
#Create a clone virtual machine called '''ferrari''' 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 '''ferrari''' 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 '''Porscheporsche''' 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 ('''Porscheporsche''') ===
Perform the following steps for this section:
#Create a clone virtual machine called '''Porscheporsche''' 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 '''Porscheporsche''' 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 '''ferrari.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;"
| style="background-color:#66cccc; border: 2px solid black;" | '''Porscheporsche.house.neighbourhood.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.30.10.4'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server
# Any machine may query '''ferrari'''
# Only the machines in the '''house.neighbourhood.ops''' network may query Porscheporsche.
== Assignment Submission ==
::'''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 '''ferrari''' and '''Porscheporsche''' 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>
|-
|
::'''ferrari''' and '''Porscheporsche''' VMs created
| style="text-align:right" | /1
|-
|
::'''ferrari''' and '''Porscheporsche''' VMs can perform '''DNS queries of vm1, vm2, vm3'''
| style="text-align:right" | /1
|-
|
::'''ferrari''' and '''Porscheporsche''' VMs can perform '''forward DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
|
::'''ferrari''' and '''Porscheporsche''' VMs can perform '''reverse DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
|-
|
::Zone transfer (i.e. to slave DNS server) limited to '''Porscheporsche''' only
| style="text-align:right" | /1
|-
| style="text-align:right" | /1
|-
| colspan=2 style="background-color:#eeeeee;"| '''Slave Name Server (Porscheporsche) - Network Configuration'''
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Slave Name Server (Porscheporsche) - Named Configuration Options'''
|-
|
|-
|
::Porsche porsche server is '''slave''' name-server for '''house.neighbourhood.ops'''
| style="text-align:right" | /1
|-
|-
|
::'''Porscheporsche''' limits queries to '''house.neighbourhood.ops''' (i.e. won't work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
13,420
edits